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