public ModeratorProductService(TechShopDbContext db, IAdminCategoryService categories) { this.db = db; this.categories = categories; }
public ProductService(TechShopDbContext db) { this.db = db; }
public AdminCategoryService(TechShopDbContext db) { this.db = db; }
public AdminUserService(TechShopDbContext db) { this.db = db; }
public ShoppingCartManager(TechShopDbContext db) { this.db = db; this.carts = new ConcurrentDictionary <string, ShoppingCart>(); }
public ShoppingCartController(IShoppingCartManager shoppingCartManager, TechShopDbContext db, UserManager <User> userManager) { this.shoppingCartManager = shoppingCartManager; this.db = db; this.userManager = userManager; }
public CommentService(TechShopDbContext db, IProductService products) { this.db = db; this.products = products; }