public OrderRepository(PizzaProjectDbContext PC) { // Directly taken from the aformentioned model by Pushpinder Kaur. this.PC = PC ?? throw new ArgumentNullException(nameof(PC)); }
public OrderRepository() { PC = new PizzaProjectDbContext(); }
public CustomerRepository() { PC = new PizzaProjectDbContext(); }
public TempCustomerOrderRepo() { PCO = new PizzaProjectDbContext(); }
public StoreRepository() { PC = new PizzaProjectDbContext(); }