Exemplo n.º 1
0
 public ProductsController()
 {
     dbContext = new App_DBEntities();
     prodRepo = new ProductRepository(dbContext);
 }
Exemplo n.º 2
0
 public LocationRepository(App_DBEntities _context)
 {
     this.dbCtx = _context;
 }
Exemplo n.º 3
0
 public LocationsController()
 {
     dbContext = new App_DBEntities();
     repository = new LocationRepository(dbContext);
 }
Exemplo n.º 4
0
 public CategoryRepository(App_DBEntities _context)
 {
     dbContext = _context;
 }
Exemplo n.º 5
0
 public CategoriesController()
 {
     dbContext = new App_DBEntities();
     categoryRepo = new CategoryRepository(dbContext);
 }
Exemplo n.º 6
0
 public ProductRepository(App_DBEntities _context)
 {
     this.dbContext = _context;
 }