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