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