public ShoppingCartService(ComputerStoreDbContext context) : base(context) { itemOrderService = new ItemOrderService(context); productItemService = new ProductItemService(context); productItemCategoryService = new GenericService <ProductItemCategory>(context); categoryService = new GenericService <Category>(context); }
public ItemOrdersController(ComputerStoreDbContext context) : base(context) { service = new ItemOrderService(context); }
public ItemOrderService(ComputerStoreDbContext context) : base(context) { }
public GenericRepository(ComputerStoreDbContext context) { this.Context = context ?? throw new ArgumentNullException(nameof(context)); this.DbSet = this.Context.Set <TEntity>(); }
public CategoriesController(ComputerStoreDbContext context) : base(context) { }
public ProductItemsController(ComputerStoreDbContext context) : base(context) { service = new ProductItemService(context); }
public ProductsRepository(ComputerStoreDbContext context) { _context = context; }
public CategoriesRepository(ComputerStoreDbContext context) { _context = context; }
public ShoppingCartsController(ComputerStoreDbContext context) : base(context) { service = new ShoppingCartService(context); }
public ProductItemService(ComputerStoreDbContext context) : base(context) { categoryService = new GenericService <Category>(context); productItemCategoryService = new GenericService <ProductItemCategory>(context); }
public ComputerStoreController(ComputerStoreDbContext context) { _context = context; }
public GenericService(ComputerStoreDbContext context) { this.context = context; this.repo = new GenericRepository <TEntity>(context); }
public MembersRepository(ComputerStoreDbContext context) { _context = context; }
public CartItemsRepository(ComputerStoreDbContext context) { _context = context; }
public GenericController(ComputerStoreDbContext context) { this._context = context; service = new GenericService <TEntity>(context); }
public ProductItemCategoryController(ComputerStoreDbContext context) : base(context) { }
public DbQueryRunner(ComputerStoreDbContext context) { this.Context = context ?? throw new ArgumentNullException(nameof(context)); }