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