public async Task <Courses> GetAllCoursesAsync(ApiParameters p = null) { _request.Method = Method.GET; _request.Resource = $"/courses/"; _oneRosterApi.AddRequestParameters(_request, p); return(await _oneRosterApi.ExecuteAsync <Courses>(_request, p)); }
public async Task <AcademicSessions> GetAllGradingPeriodsAsync(ApiParameters p = null) { _request.Method = Method.GET; _request.Resource = $"/gradingPeriods/"; _oneRosterApi.AddRequestParameters(_request, p); return(await _oneRosterApi.ExecuteAsync <AcademicSessions>(_request, p)); }
public async Task <Demographicss> GetAllDemographicsAsync(ApiParameters p = null) { _request.Method = Method.GET; _request.Resource = $"/demographics/"; _oneRosterApi.AddRequestParameters(_request, p); return(await _oneRosterApi.ExecuteAsync <Demographicss>(_request, p)); }
public async Task <Enrollments> GetAllEnrollmentsAsync(ApiParameters p = null) { _request.Method = Method.GET; _request.Resource = $"/enrollments/"; _oneRosterApi.AddRequestParameters(_request, p); return(await _oneRosterApi.ExecuteAsync <Enrollments>(_request, p)); }