public IList<MenuModel> GetAllMenu() { using (IMMEntities context = new IMMEntities()) { var menuList = from A in context.BASE_FUNCTION join B in context.BASE_MENU on A.FUNCTION_ID equals B.FUNCTION_ID select new MenuModel { Function = new FunctionM…