Beispiel #1
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='command'>
 /// </param>
 /// <param name='lang'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <LMSApplicationCoreViewModelOffice365CreateTenantViewModel> CreateOrganizationAsync(this ISystemAdministrationApi operations, LMSApplicationCoreCommandsCreateOrganizationWithAdminCommand command, string lang, CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.CreateOrganizationWithHttpMessagesAsync(command, lang, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }
Beispiel #2
0
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='command'>
 /// </param>
 /// <param name='lang'>
 /// </param>
 public static LMSApplicationCoreViewModelOffice365CreateTenantViewModel CreateOrganization(this ISystemAdministrationApi operations, LMSApplicationCoreCommandsCreateOrganizationWithAdminCommand command, string lang)
 {
     return(operations.CreateOrganizationAsync(command, lang).GetAwaiter().GetResult());
 }