Exemplo n.º 1
0
 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;
 }
Exemplo n.º 4
0
 public OrderService(GobelinsWorldDbContext db)
 {
     this.db = db;
 }
 public UserProductService(GobelinsWorldDbContext db)
 {
     this.db = db;
 }