예제 #1
0
 public SiteService(ISiteRepository siteRepo, INetworkDeviceRepository networkDeviceRepo, ISiteNotificationRepository siteNotiRepo,
                    IRestrictedGroupRepository groupRepo, IRestrictedGroupConfigRepository groupConfigRepo)
 {
     this.siteRepo          = siteRepo;
     this.networkDeviceRepo = networkDeviceRepo;
     this.siteNotiRepo      = siteNotiRepo;
     this.groupRepo         = groupRepo;
     this.groupConfigRepo   = groupConfigRepo;
 }
예제 #2
0
 public HomeController(IAuthenticationRepository authRepository,
                       ISessionRepository sessionRepository, INavigationRepository navigationRepository,
                       IStatRepository statRepository, IGuildRepository guildRepository,
                       ISearchRepository searchRepository, IAuthUserCharacterRepository authUserCharacterRepository,
                       IBossFightRepository bossFightRepository, INewsRecentChangesRepository recentChanges,
                       ISiteNotificationRepository siteNotification, IRecurringTaskRepo recurringTaskRepo, IDiscordService discord)
 {
     _authRepository              = authRepository;
     _sessionRepository           = sessionRepository;
     _navigationRepository        = navigationRepository;
     _statRepository              = statRepository;
     _guildRepository             = guildRepository;
     _searchRepository            = searchRepository;
     _authUserCharacterRepository = authUserCharacterRepository;
     _bossFightRepository         = bossFightRepository;
     _recentChanges     = recentChanges;
     _siteNotification  = siteNotification;
     _recurringTaskRepo = recurringTaskRepo;
     _discord           = discord;
 }