add correct business exception handling

use <FrameworkReference Include="Microsoft.AspNetCore.App" /> instead of old nuget packages
This commit is contained in:
Alex Bezdieniezhnykh
2025-04-16 13:32:16 +03:00
parent 4fc1fb4d63
commit b1693b2894
7 changed files with 45 additions and 12 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ public class User
public UserConfig? UserConfig { get; set; } = null!;
public static string GetCacheKey(string email) =>
public static string GetCacheKey(string? email) =>
string.IsNullOrEmpty(email) ? "" : $"{nameof(User)}.{email}";
}