/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='lang'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <object> > GetLearnerCoursesAssessmentsProgressAsync(this ICoursesProgress operations, string lang, CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetLearnerCoursesAssessmentsProgressWithHttpMessagesAsync(lang, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='lang'> /// </param> /// <param name='childCode'> /// </param> /// <param name='cancellationToken'> /// The cancellation token. /// </param> public static async Task <IList <LMSApplicationCoreViewModelUserTrainingPlanViewModel> > GetLearnerTrainingPlanDetailsAsync(this ICoursesProgress operations, string lang, string childCode = default(string), CancellationToken cancellationToken = default(CancellationToken)) { using (var _result = await operations.GetLearnerTrainingPlanDetailsWithHttpMessagesAsync(lang, childCode, null, cancellationToken).ConfigureAwait(false)) { return(_result.Body); } }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='lang'> /// </param> public static IList <object> GetLearnerCoursesAssessmentsProgress(this ICoursesProgress operations, string lang) { return(operations.GetLearnerCoursesAssessmentsProgressAsync(lang).GetAwaiter().GetResult()); }
/// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='lang'> /// </param> /// <param name='childCode'> /// </param> public static IList <LMSApplicationCoreViewModelUserTrainingPlanViewModel> GetLearnerTrainingPlanDetails(this ICoursesProgress operations, string lang, string childCode = default(string)) { return(operations.GetLearnerTrainingPlanDetailsAsync(lang, childCode).GetAwaiter().GetResult()); }