public ActionResult <Cliente> Get(int id) { var cliente = business.ObterPorId(id); if (cliente == null) { return(NotFound()); } return(cliente); }
public ActionResult <Exercicio> Get(int id) { var exercicio = business.ObterPorId(id); if (exercicio == null) { return(NotFound()); } return(exercicio); }
public ActionResult <SerieFicha> Get(int id) { var serie = business.ObterPorId(id); if (serie == null) { return(NotFound()); } return(serie); }
public ActionResult <Professor> Get(int id) { var professor = business.ObterPorId(id); if (professor == null) { return(NotFound()); } return(professor); }