public InventoriesController(PizzaPlaceContext context) { _context = context; }
public LocationsController(PizzaPlaceContext context) { _context = context; }
public OrdersController(PizzaPlaceContext context, OrdersRepository repo) { _context = context; Repo = repo; }
public OrderPizzasController(PizzaPlaceContext context) { _context = context; }
public OrdersRepository(PizzaPlaceContext db) { _db = db ?? throw new ArgumentNullException(nameof(db)); }