public ActionResult Index() { if (User.IsInRole("Administrator")) { return(RedirectToAction("Index", "Orders")); } CrepeMakeModel crepeMakeModel = new CrepeMakeModel(); return(View(crepeMakeModel.getIngredientsByCategoriesDict())); }
// GET: Crepes/Create public ActionResult Create() { CrepeMakeModel crepeMakeModel = new CrepeMakeModel(); return(View(crepeMakeModel.getIngredientsByCategoriesDict())); }