public ExameDTO GetById(Guid Idexame) { return(mapper.Map <ExameDTO>(repository.GetById(Idexame))); }
public async Task <ExameViewModel> GetById(Guid id) => _mapper.Map <ExameViewModel>(await _exameRepository.GetById(id));
public Exame Get(int id) => _repository.GetById(id);