public ModeratorProductService(TechShopDbContext db, IAdminCategoryService categories)
 {
     this.db         = db;
     this.categories = categories;
 }
Пример #2
0
 public ProductService(TechShopDbContext db)
 {
     this.db = db;
 }
Пример #3
0
 public AdminCategoryService(TechShopDbContext db)
 {
     this.db = db;
 }
Пример #4
0
 public AdminUserService(TechShopDbContext db)
 {
     this.db = db;
 }
Пример #5
0
 public ShoppingCartManager(TechShopDbContext db)
 {
     this.db    = db;
     this.carts = new ConcurrentDictionary <string, ShoppingCart>();
 }
Пример #6
0
 public ShoppingCartController(IShoppingCartManager shoppingCartManager, TechShopDbContext db, UserManager <User> userManager)
 {
     this.shoppingCartManager = shoppingCartManager;
     this.db          = db;
     this.userManager = userManager;
 }
Пример #7
0
 public CommentService(TechShopDbContext db, IProductService products)
 {
     this.db       = db;
     this.products = products;
 }