public GeneralInformationController( IGeneralInformationService generalInformationService, ISearchService searchService, ICatalogService catalogService, IAuthorizationService authorizationService, IEnumMappingService enumMappingService, IKeywordService keywordService, ICacheStorageService cacheStorageService) : base(authorizationService, enumMappingService) { _authorizationService = AuthorizationServiceFactory.Current; _searchService = searchService; _generalInformationService = generalInformationService; _catalogService = catalogService; _enumMappingService = enumMappingService; _keywordService = keywordService; _cacheStorageService = cacheStorageService; }
public IndexModel(IConstantService constantService, IWebHostEnvironment hostEnvironment, IGeneralInformationService generalInformationService) { _constantService = constantService; _hostEnvironment = hostEnvironment; _generalInformationService = generalInformationService; }
public HomeController(IGeneralInformationService generalInformationService, IComplaintService complaintService, IComplaintService productService) { _generalInformationService = generalInformationService; _complaintService = complaintService; _productService = productService; }