Esempio n. 1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='xSelectedSchoolCode'>
 /// Selected school code, used when multiple impersonation permissions are
 /// available on the token
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <PagedResponseSubjectCourseExternalResponse> Post1Async(this IKMDStudicaProgrammes operations, string xSelectedSchoolCode = default(string), ActiveSubjectCoursesExternalRequest body = default(ActiveSubjectCoursesExternalRequest), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.Post1WithHttpMessagesAsync(xSelectedSchoolCode, body, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Esempio n. 2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='xSelectedSchoolCode'>
 /// Selected school code, used when multiple impersonation permissions are
 /// available on the token
 /// </param>
 /// <param name='body'>
 /// </param>
 public static PagedResponseSubjectCourseExternalResponse Post1(this IKMDStudicaProgrammes operations, string xSelectedSchoolCode = default(string), ActiveSubjectCoursesExternalRequest body = default(ActiveSubjectCoursesExternalRequest))
 {
     return(operations.Post1Async(xSelectedSchoolCode, body).GetAwaiter().GetResult());
 }