Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DashboardController"/> with all its dependencies.
 /// </summary>
 public DashboardController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor,
                            ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger,
                            IRuntimeState runtimeState, IDashboardService dashboardService, UmbracoHelper umbracoHelper,
                            IContentDashboardSettings dashboardSettings)
     : base(globalSettings, umbracoContextAccessor, sqlContext, services, appCaches, logger, runtimeState, umbracoHelper)
 {
     _dashboardService  = dashboardService;
     _dashboardSettings = dashboardSettings;
 }
Esempio n. 2
0
 public ContentDashboard(IContentDashboardSettings dashboardSettings, IUserService userService)
 {
     _dashboardSettings = dashboardSettings;
     _userService       = userService;
 }