public HomeController(IServiceProvider serviceProvider) : base(serviceProvider) { _userService = serviceProvider.GetService <IUserService>(); _userSessionService = serviceProvider.GetService <IUserSessionService>(); websiteService = serviceProvider.GetService <IWebsiteService>(); languageService = serviceProvider.GetService <ILanguageService>(); languageCookieService = serviceProvider.GetService <ILanguageCookieService>(); emailService = serviceProvider.GetService <IEmailService>(); uI_NoticeService = serviceProvider.GetService <IUI_NoticeService>(); }
public Notice(IServiceProvider serviceProvider) : base(serviceProvider) { uI_NoticeService = serviceProvider.GetService <IUI_NoticeService>(); }