예제 #1
0
 public IHttpActionResult GetStudentsInCourse(int id)
 {
     try
     {
         return(Ok(_service.GetActiveStudents(id)));
     }
     catch (AppObjectNotFoundException)
     {
         return(NotFound());
     }
 }