Ejemplo n.º 1
0
 public DashboardController(
     IAuthorizationService authorizationService,
     IAdminDashboardService adminDashboardService,
     IContentManager contentManager,
     IContentItemDisplayManager contentItemDisplayManager,
     IContentDefinitionManager contentDefinitionManager,
     ISiteService siteService,
     IUpdateModelAccessor updateModelAccessor,
     IShapeFactory shapeFactory,
     INotifier notifier,
     IStringLocalizer <DashboardController> stringLocalizer,
     IHtmlLocalizer <DashboardController> htmlLocalizer,
     YesSql.ISession session,
     ILogger <DashboardController> logger)
 {
     _authorizationService      = authorizationService;
     _adminDashboardService     = adminDashboardService;
     _contentManager            = contentManager;
     _contentItemDisplayManager = contentItemDisplayManager;
     _contentDefinitionManager  = contentDefinitionManager;
     _siteService         = siteService;
     _updateModelAccessor = updateModelAccessor;
     New       = shapeFactory;
     _notifier = notifier;
     S         = stringLocalizer;
     H         = htmlLocalizer;
     _session  = session;
     _logger   = logger;
 }
Ejemplo n.º 2
0
 public AdminController(IMembershipService membershipService, ICookieHelper cookieHelper, IActiveDirectoryService activeDirectoryService,
                        IProjectService projectService, IEmailService emailService, IProjectMappingService projectMappingService, IGenericService genericService,
                        IAdminDashboardService dashboardService, IMappingService mappingService, IActiveDirectoryService iactiveDirectoryService)
 {
     this._projectService          = projectService;
     this.emailService             = emailService;
     this._cookieHelper            = cookieHelper;
     this._activeDirectoryService  = activeDirectoryService;
     this._projectMappingService   = projectMappingService;
     this._genericService          = genericService;
     this._dashboardService        = dashboardService;
     this._mappingService          = mappingService;
     this._iactiveDirectoryService = iactiveDirectoryService;
 }