public StructuresController(IDeviceRepository deviceRepository,
     ISignboardRepository signboardRepository,
     ISlideshowRepository slideshowRepository,
     IWidgetDefinitionRepository widgetDefinitionRepository,
     IAnnouncementRepository announcementRepository,
     IDiagnosticsComponent diagnosticsComponent,
     ILoggingComponent loggingComponent)
 {
     DeviceRepository = deviceRepository;
     SignboardRepository = signboardRepository;
     SlideshowRepository = slideshowRepository;
     WidgetDefinitionRepository = widgetDefinitionRepository;
     AnnouncementRepository = announcementRepository;
     DiagnosticsComponent = diagnosticsComponent;
     LoggingComponent = loggingComponent;
 }
Exemplo n.º 2
0
 protected BaseController(IControllerData data)
 {
     this.accountRepository = data.AccountRepository;
     this.formsAuthentication = data.FormsAuthentication;
     this.articlesRepository = data.ArticlesRepository;
     this.staticPagesRepository = data.StaticPagesRepository;
     this.filesRepository = data.FilesRepository;
     this.lecturersRepository = data.LecturersRepository;
     this.eventsRepository = data.EventsRepository;
     this.settingsRepository = data.SettingsRepository;
     this.committeeRepository = data.CommitteeRepository;
     this.slideshowRepository = data.SlideshowRepository;
     this.albumRepository = data.AlbumRepository;
     this.galleryRepository = data.GalleryRepository;
     this.feedbackRepository = data.FeedbackRepository;
     this.sessionsRepository = data.SessionsRepository;
     this.bannersRepository = data.BannersRepository;
 }
 public ControllerData(IFormsAuthentication formsAuthentication, IAccountRepository accountRepository, IArticlesRepository articlesRepository,
                       IStaticPagesRepository staticPagesRepository, IFilesRepository filesRepository, ILecturersRepository lecturersRepository,
                       IEventsRepository eventsRepository, ISettingsRepository settingsRepository, ICommitteeRepository committeeRepository,
                       ISlideshowRepository slideshowRepository, IAlbumRepository albumRepository, IGalleryRepository galleryRepository,
                       IFeedbackRepository feedbackRepository, ISessionsRepository sessionsRepository, IBannersRepository bannersRepository)
 {
     this.FormsAuthentication   = formsAuthentication;
     this.AccountRepository     = accountRepository;
     this.ArticlesRepository    = articlesRepository;
     this.StaticPagesRepository = staticPagesRepository;
     this.FilesRepository       = filesRepository;
     this.LecturersRepository   = lecturersRepository;
     this.EventsRepository      = eventsRepository;
     this.SettingsRepository    = settingsRepository;
     this.CommitteeRepository   = committeeRepository;
     this.SlideshowRepository   = slideshowRepository;
     this.AlbumRepository       = albumRepository;
     this.GalleryRepository     = galleryRepository;
     this.FeedbackRepository    = feedbackRepository;
     this.SessionsRepository    = sessionsRepository;
     this.BannersRepository     = bannersRepository;
 }
Exemplo n.º 4
0
 public ControllerData(IFormsAuthentication formsAuthentication, IAccountRepository accountRepository, IArticlesRepository articlesRepository,
     IStaticPagesRepository staticPagesRepository, IFilesRepository filesRepository, ILecturersRepository lecturersRepository,
     IEventsRepository eventsRepository, ISettingsRepository settingsRepository, ICommitteeRepository committeeRepository,
     ISlideshowRepository slideshowRepository, IAlbumRepository albumRepository, IGalleryRepository galleryRepository,
     IFeedbackRepository feedbackRepository, ISessionsRepository sessionsRepository, IBannersRepository bannersRepository)
 {
     this.FormsAuthentication = formsAuthentication;
     this.AccountRepository = accountRepository;
     this.ArticlesRepository = articlesRepository;
     this.StaticPagesRepository = staticPagesRepository;
     this.FilesRepository = filesRepository;
     this.LecturersRepository = lecturersRepository;
     this.EventsRepository = eventsRepository;
     this.SettingsRepository = settingsRepository;
     this.CommitteeRepository = committeeRepository;
     this.SlideshowRepository = slideshowRepository;
     this.AlbumRepository = albumRepository;
     this.GalleryRepository = galleryRepository;
     this.FeedbackRepository = feedbackRepository;
     this.SessionsRepository = sessionsRepository;
     this.BannersRepository = bannersRepository;
 }
 public ValidSlideshowIdAttribute()
     : base("Slideshow does not exist.")
 {
     SlideshowRepository = (ISlideshowRepository)Startup.HttpConfiguration.DependencyResolver.GetService(typeof(ISlideshowRepository));
 }
Exemplo n.º 6
0
 public WidgetsController(ISlideshowRepository slideshowRepository)
 {
     SlideshowRepository = slideshowRepository;
 }
 public ScheduledSlideshowsController(ISlideshowRepository slideshowRepository, ISignboardRepository signboardRepository)
 {
     SlideshowRepository = slideshowRepository;
     SignboardRepository = signboardRepository;
 }
 public ParametersController(ISlideshowRepository slideshowRepository, IWidgetDefinitionRepository widgetDefinitionRepository)
 {
     SlideshowRepository = slideshowRepository;
     WidgetDefinitionRepository = widgetDefinitionRepository;
 }