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