private async Task PopulateCourseAssignedDataAsync( IEnumerable <int> currentAssignedCoursesId, IInstructorService service) { ViewData["Courses"] = await service.ListAllCourseOptionsAsync(currentAssignedCoursesId); }