public ShoppingCartController(IShoppingCartService shoppingCartService, GobelinsWorldDbContext db, ICategoryService categories, IProducerService producers, UserManager <User> userManager) { this.shoppingCartService = shoppingCartService; this.db = db; this.categories = categories; this.producers = producers; this.userManager = userManager; }
public CategoryService(GobelinsWorldDbContext db) { this.db = db; }
public ProducerService(GobelinsWorldDbContext db) { this.db = db; }
public OrderService(GobelinsWorldDbContext db) { this.db = db; }
public UserProductService(GobelinsWorldDbContext db) { this.db = db; }