public LoginController(IWorkContext workContext, IAuthenticationService authenticationService, IUserService userService, IUserAccountService userAccountService, UserSettings userSettings, IAutoGeneratedEmailTypesService emailTypes, IWebSiteRoleService webRoles, IContextDataHandler common, IRecentSavedSearchService savedSearchService, ILoginService loginService) { this._workContext = workContext; this._authenticationService = authenticationService; this._userService = userService; this._userAccountService = userAccountService; this._userSettings = userSettings; this._emailTypes = emailTypes; this._webRoles = webRoles; this._common = common; this._savedSearchService = savedSearchService; this._loginService = loginService; }
public BrowseController( IWebLocationPubTitlesService weblocationpubtitlesService, ICountryService countryService, IDateService dateService, IBrowseDataService browseDataService, IclsCookies clsCookie, IContextDataHandler common, IPublicationService PublicationService, IRecentSavedSearchService savedSearchService, IBrowserResultDetailService browserResultDetail, ICacheManager cacheManager) { this._weblocationpubtitlesService = weblocationpubtitlesService; this._countryService = countryService; this._browserResultDetail = browserResultDetail; this._dateService = dateService; this._BrowseDataService = browseDataService; this._clsCookie = clsCookie; this._common = common; this._PublicationServices = PublicationService; this._savedSearchService = savedSearchService; //Added below line by Vishal Tyagi this._cacheManager = cacheManager; }