public CreateModel(PizzaShop.Data.PizzaShopContext context) { _context = context; }
public EditModel(PizzaShop.Data.PizzaShopContext context) { _context = context; }
// get context of data to track via dependency injection using // what is configured for the PizzaShopContext in the Startup file public PizzaOrderData(PizzaShopContext context) { db = context; }
public DetailsModel(PizzaShop.Data.PizzaShopContext context) { _context = context; }
public DeleteModel(PizzaShop.Data.PizzaShopContext context) { _context = context; }
public IndexModel(PizzaShop.Data.PizzaShopContext context) { _context = context; }