public async Task <ActionResult <TurmaAcadescViewModel> > ObterPorId(Guid id) { var entidade = _mapper.Map <TurmaAcadescViewModel>(await _turmaRepositorio.ObterPorId(id)); if (entidade == null) { return(NotFound()); } return(Ok(entidade)); }