feat(api): аутентификация и авторизация. Кастомные ParrAuthenticationHandler и BaseSimpleRoleProvider.
This commit is contained in:
@@ -15,7 +15,7 @@ namespace PARR.DAL.CacheServices
|
||||
public async Task<T?> GetCachedDataAsync<T>(string key)
|
||||
{
|
||||
var jsonData = await cache.GetStringAsync(key);
|
||||
|
||||
|
||||
if (jsonData == null)
|
||||
return default(T);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user