예제 #1
0
 public ClientService(IRepository <Client> clientRepository,
                      IClientValidation clientValidation,
                      IGenerator generator,
                      IMapper mapper
                      )
 {
     _clientRepository = clientRepository;
     _clientValidation = clientValidation;
     _generator        = generator;
     _mapper           = mapper;
 }
예제 #2
0
 public ClientService(TicketingDbContext dbContext,
                      IClientValidation clientValidation)
 {
     _dbContext        = dbContext;
     _clientValidation = clientValidation;
 }