public RouteRepository(PizzaShopContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <Route>();
 }
 public OptionRepository(PizzaShopContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <Option>();
 }
Exemple #3
0
 public CategoryRepository(PizzaShopContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <Category>();
 }
Exemple #4
0
 public ProductRepository(PizzaShopContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <Product>();
 }
Exemple #5
0
 public OrderRepository(PizzaShopContext context)
 {
     this.context = context;
     this.dbSet   = context.Set <Order>();
 }