Pagina profilo e modiche al theme

This commit is contained in:
2025-05-12 10:39:51 +02:00
parent eb1dc8daa2
commit bc3809b61c
21 changed files with 457 additions and 12 deletions

View File

@@ -0,0 +1,17 @@
using Template.Shared.Core.Authorization.Enum;
namespace Template.Shared.Core.Helpers;
public static class KeyGroupHelper
{
public static string ConvertToHumanReadable(this KeyGroupEnum keyGroup)
{
return keyGroup switch
{
KeyGroupEnum.Agenti => "Agenti",
KeyGroupEnum.Tecnico => "Tecnico",
KeyGroupEnum.UtenteAziendale => "Utente Aziendale",
_ => throw new ArgumentOutOfRangeException(nameof(keyGroup), keyGroup, null)
};
}
}