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