public IHttpActionResult GetInstructorsByCourse([FromUri] int courseID) { var svc = new InstructorService(); var instructors = svc.GetInstructorsByCourse(courseID); return(Ok(instructors)); }