Пример #1
0
 public WebAppContext(IHttpContextAccessor httpContext
                      , IAuthenticationService authenticationService
                      , IOrgDataServer orgDataServer
                      , IOrganizationService organizationService
                      , ISettingFinder settingFinder
                      , ISystemUserRolesService systemUserRolesService
                      , ILocalizedTextProvider localizedTextProvider
                      , IUserPersonalizationService userPersonalizationService
                      )
 {
     HttpContext             = httpContext.HttpContext;
     _authenticationService  = authenticationService;
     OrgDataServer           = orgDataServer;
     _organizationService    = organizationService;
     _settingFinder          = settingFinder;
     _systemUserRolesService = systemUserRolesService;
     T = localizedTextProvider;
     _userPersonalizationService = userPersonalizationService;
     SetFeatures();
 }
Пример #2
0
 public UserPersonalizationController(IWebAppContext appContext
                                      , IUserPersonalizationService userPersonalizationService)
     : base(appContext)
 {
     _userPersonalizationService = userPersonalizationService;
 }