Tipologia cliente
This commit is contained in:
@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
using OAService.Service.Servizi.Interfacce;
|
||||
using StandManager.Domain.Entita;
|
||||
|
||||
namespace StandManager.Service.Interfaces;
|
||||
|
||||
public interface ITipologiaClienteService : ITService<TipologiaCliente> {}
|
||||
@ -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; }
|
||||
}
|
||||
@ -13,4 +13,4 @@ public class ReferenteService : TService<Referente>, IReferenteService
|
||||
{
|
||||
_unitOfWork = unitOfWork;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
16
StandManager.Service/TipologiaClienteService.cs
Normal file
16
StandManager.Service/TipologiaClienteService.cs
Normal 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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user