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