Loading backup

This commit is contained in:
2024-07-12 06:51:29 +07:00
parent d96b2a4c3b
commit 13e70cbf63
16 changed files with 128 additions and 103 deletions

View File

@@ -64,7 +64,8 @@ namespace Managing.Infrastructure.Storage
public T Get<T>(string key)
{
var existingValue = (AsyncLazy<T>)_cache.Get(key);
return existingValue.Value.Result;
if (existingValue != null) return existingValue.Value.Result;
return default(T);
}
public virtual List<T> GetCache<T>()