Membership

This commit is contained in:
2025-12-01 15:15:05 +01:00
parent b1bd4f01b6
commit 06321840a8
32 changed files with 1546 additions and 141 deletions

View File

@ -1,6 +1,7 @@
namespace StandManager.Service.Interfaces;
public interface IManagerService
namespace StandManager.Service.Interfaces
{
public IUtenteService UtenteService { get; set; }
}
public interface IManagerService
{
public IUtenteService UtenteService { get; set; }
}
}

View File

@ -0,0 +1,15 @@
using System.Security.Claims;
namespace StandManager.Service.Interfaces
{
// public interface IMembershipService
// {
// Task<LoginResult> TryLoginAsync(LoginModel model);
// }
// public record LoginResult(bool Success, string? ErrorMessage, ClaimsPrincipal? ClaimsPrincipal)
// {
// public static LoginResult Fail(string msg) => new(false, msg, null);
// public static LoginResult Success(ClaimsPrincipal cp) => new(true, null, cp);
// }
}

View File

@ -6,4 +6,4 @@ namespace StandManager.Service.Interfaces;
public interface IUtenteService : ITService<Utente>
{
}
}

View File

@ -1,4 +1,4 @@
using StandManager.Service.Interfaces;
using StandManager.Service.Interfaces;
namespace StandManager.Service;

View File

@ -1,3 +1,4 @@
using OAService.Infrastructure.DAL.Context;
using OAService.Infrastructure.DAL.Repository;
using StandManager.Infrastructure.DAL.Context;