Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public ActionResult <IEnumerable <Aluno> > GetAluno() { try { return(_alunoRepository.GetAllAunos()); } catch (Exception ex) { return(this.StatusCode(StatusCodes.Status500InternalServerError, $"Ops! Houve um erro: { ex.Message }.")); } }