Exemplo n.º 1
0
 public MenuModel()
 {
     _context  = new EatWellContext();
     FoodItems = _context.foodItems.ToList();
 }
Exemplo n.º 2
0
 public WeeklyMenuModel()
 {
     _context = new EatWellContext();
     Menus    = _context.menus.ToList();
     //WeeklyMenuList = _context.weeklyMenus.ToList();
 }