You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get this exception when I try this : return GlavCacheManagement.GetCache("cachekey",15, () => { var list= _repo.GetByLang(IsActiveOrAccepted.Active); return (currentLangId> 0 ? list.Where(x => x.LangId== currentLangId) : list).ToList(); });
My GlavCacheManagement class method public static T GetCache<T>(string key, int h, Func<T> del) where T:class { if (FrSettings.Settings.IsGlavCacheActive) { return AppServices.Cache.Get<T>(key, DateTime.Now.AddMinutes(h),del); } return del.Invoke(); }
My delegate name is the problem here is the delegate info
I get this exception when I try this :
return GlavCacheManagement.GetCache("cachekey",15, () => { var list= _repo.GetByLang(IsActiveOrAccepted.Active); return (currentLangId> 0 ? list.Where(x => x.LangId== currentLangId) : list).ToList(); });
My GlavCacheManagement class method
public static T GetCache<T>(string key, int h, Func<T> del) where T:class { if (FrSettings.Settings.IsGlavCacheActive) { return AppServices.Cache.Get<T>(key, DateTime.Now.AddMinutes(h),del); } return del.Invoke(); }
My delegate name is the problem here is the delegate info
FullName :
Sport.DataAccess.Services.UserDestekHedefServices+<>c__DisplayClass9_0.<GetActiveHedefOfUser>b__0()
Name :
<GetActiveHedefOfUser>b__0
Stacktrace:
konum: System.Xml.XmlConvert.VerifyNCName(String name, ExceptionType exceptionType)
The text was updated successfully, but these errors were encountered: