Ejemplo n.º 1
0
 public WorkerDto GetWorkerById(int workerId)
 {
     return(_mapper.Map <Worker, WorkerDto>(_workerRepository.GetWorkerById(workerId)));
 }