Beispiel #1
0
 public SearchFilterSettingsService(IMemoryCache cache,
                                    IUserInfoService userInfoService,
                                    IUserPresettings presettingsServ)
 {
     _cache           = cache ?? throw new ArgumentNullException(nameof(cache));
     _presettingsServ = presettingsServ;
     _userInfo        = userInfoService.GetCurrentUserInfo();
 }
 public UserPresettingsService(IConfiguration configuration,
                               UserInfo userIdentInfo,
                               IUserPresettings presettingsServ)
 {
     this.configuration   = configuration;
     this.presettingsServ = presettingsServ;
     this.userIdentInfo   = userIdentInfo;
 }