public async Task <IHttpActionResult> GetInstructorsWithCourses() { var instructorsWithCoursesOut = await _instructorService.GetInstructorsWithCourses(); return(new Helpers.ActionResultBuilder .CreateActionResult <IEnumerable <InstructorWithCoursesOut> >(Request, instructorsWithCoursesOut, System.Net.HttpStatusCode.OK)); }