예제 #1
0
 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>();
 }
예제 #2
0
 public Notice(IServiceProvider serviceProvider) : base(serviceProvider)
 {
     uI_NoticeService = serviceProvider.GetService <IUI_NoticeService>();
 }