public SlideService(WebMyPhamDbContext context) { _context = context; }
private readonly WebMyPhamDbContext _context; //chỉ gán 1 lần public CategoryService(WebMyPhamDbContext context) { _context = context; }
public ProductService(WebMyPhamDbContext context, IStorageService storageService) { _context = context; _storageService = storageService; }