示例#1
0
 public IActionResult actualizarAlumno([FromBody] alumno alumno)
 {
     try
     {
         var actualizar = _alumnoService.actualizarAlumno(alumno);
         if (actualizar)
         {
             return(Ok());
         }
         else
         {
             return(BadRequest());
         }
     }
     catch (System.Exception)
     {
         throw;
     }
 }