public ImageService(innfactContext _db) { db = _db; }
public ProductService(innfactContext _db) { db = _db; }
public AccountService(innfactContext _db) { db = _db; }
public IndexController(innfactContext _db) { imageService = new ImageService(_db); categoryService = new CategoryService(_db); }
public CategoryService(innfactContext _db) { db = _db; }
public AccountController(innfactContext db) { accountService = new AccountService(db); }
public CollectionController(innfactContext _db) { categoryService = new CategoryService(_db); productService = new ProductService(_db); }
public ProductController(innfactContext _db) { productService = new ProductService(_db); }