public IHttpActionResult GetStudents(int id) { try { return(Ok(_service.GetAllStudents(id))); } catch (NotFoundException) { return(NotFound()); } }
public IHttpActionResult GetStudents(int id) { try { return(Ok(_service.GetAllStudents(id))); } catch (NotFoundException) { return(NotFound()); } }