예제 #1
0
        public IHttpActionResult GetObtenerEstudiantesPorId(int id)
        {
            var estudiante = service.ConsultarEstudiantePorId(id);

            if (estudiante == null)
            {
                return(NotFound());
            }

            return(Ok(estudiante));
        }