public IHttpActionResult GetInstructorByID([FromUri] int instructorID) { var svc = new InstructorService(); var instructor = svc.GetInstructorByID(instructorID); return(Ok(instructor)); }