示例#1
0
 public IActionResult DeleteStudentType([FromBody] StudentType studentType)
 {
     try
     {
         var result = _studentBusiness.DeleteStudentType(studentType);
         return(Ok(result));
     }
     catch (Exception ex)
     {
         return(BadRequest(ex));
     }
 }