Exemple #1
0
 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();
        }
Exemple #3
0
 public SubCategoryController(ICategoryMasterService categoryMasterService, ISubCategoryService subCategoryService)
 {
     _categoryMasterService = categoryMasterService;
     _subCategoryService    = subCategoryService;
     _UseradminService      = new UseradminService();
 }
Exemple #4
0
 public LoginController()
 {
     _loginService     = new LoginService();
     _UseradminService = new UseradminService();
 }