Tipologia cliente

This commit is contained in:
2025-12-15 11:01:14 +01:00
parent 69d28744f6
commit 664cee9656
22 changed files with 1118 additions and 491 deletions

View File

@ -8,6 +8,7 @@
public IInvitoEventoService InvitoEventoService{ get; set; }
public IIscrizioneEventoService IscrizioneEventoService{ get; set; }
public IReferenteService ReferenteService{ get; set; }
public ITipologiaClienteService TipologiaClienteService { get; set; }
public IUtenteService UtenteService { get; set; }
}
}

View File

@ -0,0 +1,6 @@
using OAService.Service.Servizi.Interfacce;
using StandManager.Domain.Entita;
namespace StandManager.Service.Interfaces;
public interface ITipologiaClienteService : ITService<TipologiaCliente> {}

View File

@ -5,7 +5,8 @@ namespace StandManager.Service;
public class ManagerService : IManagerService
{
public ManagerService(IUtenteService utenteService, IClienteService clienteService, IDestinazioneService destinazioneService, IEventoService eventoService,
IInvitoEventoService invitoEventoService, IIscrizioneEventoService iscrizioneEventoService, IReferenteService referenteService)
IInvitoEventoService invitoEventoService, IIscrizioneEventoService iscrizioneEventoService, IReferenteService referenteService,
ITipologiaClienteService tipologiaClienteService)
{
UtenteService = utenteService;
ClienteService = clienteService;
@ -14,6 +15,7 @@ public class ManagerService : IManagerService
InvitoEventoService = invitoEventoService;
IscrizioneEventoService = iscrizioneEventoService;
ReferenteService = referenteService;
TipologiaClienteService = tipologiaClienteService;
}
public IUtenteService UtenteService { get; set; }
@ -23,4 +25,5 @@ public class ManagerService : IManagerService
public IInvitoEventoService InvitoEventoService{ get; set; }
public IIscrizioneEventoService IscrizioneEventoService { get; set; }
public IReferenteService ReferenteService { get; set; }
public ITipologiaClienteService TipologiaClienteService { get; set; }
}

View File

@ -13,4 +13,4 @@ public class ReferenteService : TService<Referente>, IReferenteService
{
_unitOfWork = unitOfWork;
}
}
}

View File

@ -0,0 +1,16 @@
using OAService.Service.Servizi.Implementazioni;
using StandManager.Domain.Entita;
using StandManager.Service.Interfaces;
using StandManager.Service.Repository;
namespace StandManager.Service;
public class TipologiaClienteService : TService<TipologiaCliente>, ITipologiaClienteService
{
private readonly IStandManagerUnitOfWork _unitOfWork;
public TipologiaClienteService(IStandManagerUnitOfWork unitOfWork) : base(unitOfWork)
{
_unitOfWork = unitOfWork;
}
}