Exemple #1
0
 public IHttpActionResult GetGrade(int id)
 {
     if (gradesService.ExistsID(id) == false)
     {
         return(NotFound());
     }
     return(Ok(gradesService.GetByID(id)));
 }