Ejemplo n.º 1
0
        public IActionResult UpdateStudent(UpdateStudentRequest student)
        {
            var toReturn = _service.UpdateStudent(student);

            if (toReturn == null)
            {
                return(BadRequest());
            }
            return(Ok(toReturn));
        }