Exemplo n.º 1
0
 public WorkerDto GetWorkerByUserId(string userId)
 {
     return(_mapper.Map <Worker, WorkerDto>(_workerRepository.GetWorkerByUserId(userId)));
 }