public IHttpActionResult GetObtenerEstudiantesPorId(int id) { var estudiante = service.ConsultarEstudiantePorId(id); if (estudiante == null) { return(NotFound()); } return(Ok(estudiante)); }