public OrderDetailsController(ABCRetailersContext context) { _context = context; }
public EmployeesController(ABCRetailersContext context) { _context = context; }
public ShippersController(ABCRetailersContext context) { _context = context; }
//private readonly IGenericRepository<ABCRetailersContext> repository = null; //public CategoriesController() //{ // this.repository = new GenericRepository<ABCRetailersContext>(); //} public CategoriesController(ABCRetailersContext context) { //this.repository = new GenericRepository<ABCRetailersContext>(); _context = context; }
public SuppliersController(ABCRetailersContext context) { _context = context; }
public GenericRepository(ABCRetailersContext _context) { this._context = _context; table = _context.Set <T>(); }
public GenericRepository() { _context = new ABCRetailersContext(); table = _context.Set <T>(); }
public CustomersController(ABCRetailersContext context) { _context = context; }
public ProductsController(ABCRetailersContext context) { _context = context; }