Exemple #1
0
 public HomeController(ILogger <HomeController> logger,
                       ServiceFacade.Controller context,
                       ActivityService activityService,
                       DailyLiteracyTipService dailyLiteracyTipService,
                       DashboardContentService dashboardContentService,
                       DynamicAvatarService dynamicAvatarService,
                       EmailReminderService emailReminderService,
                       PageService pageService,
                       SiteService siteService,
                       UserService userService)
     : base(context)
 {
     _logger                  = Require.IsNotNull(logger, nameof(logger));
     _activityService         = Require.IsNotNull(activityService, nameof(activityService));
     _dailyLiteracyTipService = Require.IsNotNull(dailyLiteracyTipService,
                                                  nameof(dailyLiteracyTipService));
     _dashboardContentService = Require.IsNotNull(dashboardContentService,
                                                  nameof(dashboardContentService));
     _dynamicAvatarService = Require.IsNotNull(dynamicAvatarService,
                                               nameof(dynamicAvatarService));
     _emailReminderService = Require.IsNotNull(emailReminderService,
                                               nameof(emailReminderService));
     _pageService = Require.IsNotNull(pageService, nameof(pageService));
     _siteService = Require.IsNotNull(siteService, nameof(siteService));
     _userService = Require.IsNotNull(userService, nameof(userService));
 }
        public DynamicAvatarsController(ILogger <DynamicAvatarsController> logger,
                                        ServiceFacade.Controller context,
                                        DynamicAvatarService avatarService,
                                        SiteService siteService)
            : base(context)
        {
            _logger        = Require.IsNotNull(logger, nameof(logger));
            _avatarService = Require.IsNotNull(avatarService, nameof(avatarService));
            _siteService   = Require.IsNotNull(siteService, nameof(SiteService));

            PageTitle = "Avatars";
        }
Exemple #3
0
 public AvatarController(ILogger <AvatarController> logger,
                         ServiceFacade.Controller context,
                         DynamicAvatarService dynamicAvatarService,
                         UserService userService)
     : base(context)
 {
     _logger = Require.IsNotNull(logger, nameof(logger));
     _mapper = context.Mapper;
     _dynamicAvatarService = Require.IsNotNull(dynamicAvatarService,
                                               nameof(dynamicAvatarService));
     _userService = Require.IsNotNull(userService, nameof(userService));
     PageTitle    = "Avatar";
 }
Exemple #4
0
 public LookupController(ILogger <LookupController> logger,
                         ServiceFacade.Controller context,
                         DynamicAvatarService dynamicAvatarService,
                         SchoolService schoolService,
                         SiteService siteService,
                         UserService userService) : base(context)
 {
     _logger = Require.IsNotNull(logger, nameof(logger));
     _dynamicAvatarService = Require.IsNotNull(dynamicAvatarService,
                                               nameof(dynamicAvatarService));
     _schoolService = Require.IsNotNull(schoolService, nameof(schoolService));
     _siteService   = Require.IsNotNull(siteService, nameof(siteService));
     _userService   = Require.IsNotNull(userService, nameof(userService));
 }
Exemple #5
0
 public FlightController(ILogger <FlightController> logger,
                         ServiceFacade.Controller context,
                         ActivityService activityService,
                         DynamicAvatarService dynamicAvatarService,
                         QuestionnaireService questionnaireService,
                         VendorCodeService vendorCodeService,
                         IHostingEnvironment hostingEnvironment)
     : base(context)
 {
     _logger               = Require.IsNotNull(logger, nameof(logger));
     _activityService      = Require.IsNotNull(activityService, nameof(activityService));
     _dynamicAvatarService = Require.IsNotNull(dynamicAvatarService, nameof(dynamicAvatarService));
     _questionnaireService = Require.IsNotNull(questionnaireService,
                                               nameof(questionnaireService));
     _vendorCodeService  = Require.IsNotNull(vendorCodeService, nameof(vendorCodeService));
     _hostingEnvironment = Require.IsNotNull(hostingEnvironment, nameof(hostingEnvironment));
     PageTitle           = "Flight Director";
 }
Exemple #6
0
 public TriggersController(ILogger <TriggersController> logger,
                           ServiceFacade.Controller context,
                           BadgeService badgeService,
                           DynamicAvatarService dynamicAvatarService,
                           EventService eventService,
                           SiteService siteService,
                           TriggerService triggerService,
                           VendorCodeService vendorCodeService)
     : base(context)
 {
     _logger               = Require.IsNotNull(logger, nameof(logger));
     _badgeService         = Require.IsNotNull(badgeService, nameof(badgeService));
     _dynamicAvatarService = Require.IsNotNull(dynamicAvatarService,
                                               nameof(dynamicAvatarService));
     _eventService      = Require.IsNotNull(eventService, nameof(eventService));
     _siteService       = Require.IsNotNull(siteService, nameof(SiteService));
     _triggerService    = Require.IsNotNull(triggerService, nameof(triggerService));
     _vendorCodeService = Require.IsNotNull(vendorCodeService, nameof(vendorCodeService));
     PageTitle          = "Triggers";
 }
Exemple #7
0
 public HomeController(ILogger <HomeController> logger,
                       ServiceFacade.Controller context,
                       ActivityService activityService,
                       DynamicAvatarService dynamicAvatarService,
                       EmailReminderService emailReminderService,
                       SiteService siteService,
                       StaticAvatarService staticAvatarService,
                       UserService userService)
     : base(context)
 {
     _logger               = Require.IsNotNull(logger, nameof(logger));
     _activityService      = Require.IsNotNull(activityService, nameof(activityService));
     _dynamicAvatarService = Require.IsNotNull(dynamicAvatarService,
                                               nameof(dynamicAvatarService));
     _emailReminderService = Require.IsNotNull(emailReminderService,
                                               nameof(emailReminderService));
     _staticAvatarService = Require.IsNotNull(staticAvatarService,
                                              nameof(staticAvatarService));
     _siteService = Require.IsNotNull(siteService, nameof(siteService));
     _userService = Require.IsNotNull(userService, nameof(userService));
 }