public HomeController(ICategoryMasterService categoryMasterService, IFeedbackService feedbackService, ISubCategoryService subCategoryService, IProductService productService, IHomeService sliderMasterService) : base(productService) { _categoryMasterService = categoryMasterService; _feedbackService = feedbackService; _subCategoryService = subCategoryService; _productService = productService; _sliderService = sliderMasterService; _UseradminService = new UseradminService(); }
// string CategoryImagePath = WebConfigurationManager.AppSettings["CategoryImagePath"]; public UserController() { _UseradminService = new UseradminService(); }
public SubCategoryController(ICategoryMasterService categoryMasterService, ISubCategoryService subCategoryService) { _categoryMasterService = categoryMasterService; _subCategoryService = subCategoryService; _UseradminService = new UseradminService(); }
public LoginController() { _loginService = new LoginService(); _UseradminService = new UseradminService(); }