Exemplo n.º 1
0
 public PublicProductService(eShopDbContext context)
 {
     _context = context;
 }
Exemplo n.º 2
0
 public OrderService(eShopDbContext context)
 {
     _context = context;
 }
 public ManageProductService(eShopDbContext context)
 {
     _context = context;
 }
Exemplo n.º 4
0
 public ProductService(eShopDbContext context, IStorageService storageService)
 {
     _context        = context;
     _storageService = storageService;
 }
Exemplo n.º 5
0
 public SlideService(eShopDbContext context)
 {
     _context = context; //đăng ký services.AddTransient<RoleManager<AppRole>, RoleManager<AppRole>>(); trong Startup của API
 }
Exemplo n.º 6
0
 public AuthService(eShopDbContext context, IEncrypter encrypter)
 {
     _context   = context;
     _encrypter = encrypter;
 }
Exemplo n.º 7
0
 public CategoryService(eShopDbContext context)
 {
     _context = context;
 }
Exemplo n.º 8
0
 public LanguageService(eShopDbContext context,
                        IConfiguration config)
 {
     _context = context;
     _config  = config;
 }
Exemplo n.º 9
0
 public ShoppingCartService(eShopDbContext context)
 {
     _context = context;
 }