public CategoryService(InnfactContext _db) { db = _db; }
public AccountController(InnfactContext db, JwtHelper _jwtHelper) { accountService = new AccountService(db); jwtHelper = _jwtHelper; }
public CartController(InnfactContext db) { cartService = new CartService(db); }
public ProductService(InnfactContext _db) { db = _db; }
public IndexController(InnfactContext _db) { imageService = new ImageService(_db); categoryService = new CategoryService(_db); }
public ImageService(InnfactContext _db) { db = _db; }
public CollectionController(InnfactContext _db) { categoryService = new CategoryService(_db); productService = new ProductService(_db); }
public OrderService(InnfactContext _db) { db = _db; }
public OrderController(InnfactContext _db) { orderService = new OrderService(_db); }
public FavoriteController(InnfactContext db) { favoriteService = new FavoriteService(db); }
public ProductController(InnfactContext _db) { productService = new ProductService(_db); }
public FavoriteService(InnfactContext _db) { db = _db; }
public CartService(InnfactContext _db) { db = _db; }
public AccountService(InnfactContext _db) { db = _db; }