public IHttpActionResult GetStudentsInCourse(int id) { try { return(Ok(_service.GetActiveStudents(id))); } catch (AppObjectNotFoundException) { return(NotFound()); } }
public IHttpActionResult GetStudentsInCourse(int id) { try { return(Ok(_service.GetActiveStudents(id))); } catch (AppObjectNotFoundException) { return(NotFound()); } }