예제 #1
0
 public IActionResult CreateMark([FromBody] Mark mark)
 {
     try
     {
         return(Ok(schoolService.CreateMark(mark)));
     }
     catch (System.Exception e)
     {
         return(BadRequest(e.Message));
     }
 }