public OrderDetailsController(ABCRetailersContext context)
 {
     _context = context;
 }
예제 #2
0
 public EmployeesController(ABCRetailersContext context)
 {
     _context = context;
 }
예제 #3
0
 public ShippersController(ABCRetailersContext context)
 {
     _context = context;
 }
예제 #4
0
        //private readonly IGenericRepository<ABCRetailersContext> repository = null;

        //public CategoriesController()
        //{
        //    this.repository = new GenericRepository<ABCRetailersContext>();
        //}

        public CategoriesController(ABCRetailersContext context)
        {
            //this.repository = new GenericRepository<ABCRetailersContext>();
            _context = context;
        }
예제 #5
0
 public SuppliersController(ABCRetailersContext context)
 {
     _context = context;
 }
예제 #6
0
 public GenericRepository(ABCRetailersContext _context)
 {
     this._context = _context;
     table         = _context.Set <T>();
 }
예제 #7
0
 public GenericRepository()
 {
     _context = new ABCRetailersContext();
     table    = _context.Set <T>();
 }
예제 #8
0
 public CustomersController(ABCRetailersContext context)
 {
     _context = context;
 }
예제 #9
0
 public ProductsController(ABCRetailersContext context)
 {
     _context = context;
 }