Example #1
0
        public async Task <ActionResult> Detail(int id)
        {
            var result = new OrderDetail
            {
                order     = await OrderFacade.GetAsyncWithDependencies(id),
                menuItems = await CompanyFacade.GetAllMenuItems(User.Identity.Name)
            };

            return(View("Detail", result));
        }