Пример #1
0
 private static async Task DeleteUser(UserResponse user, ISystemUserApi userApi)
 {
     Debug.Assert(user.Id.HasValue, "User ID must be set");
     await userApi.DeleteUsersAsync(new SqlQuery(), user.Id.Value);
     Console.WriteLine("DeleteUsersAsync():: id={0}", user.Id);
 }
Пример #2
0
 private static async Task DeleteUser(UserResponse user, ISystemApi systemApi)
 {
     Debug.Assert(user.id.HasValue, "User ID must be set");
     await systemApi.DeleteUsersAsync(user.id.Value);
     Console.WriteLine("DeleteUsersAsync():: id={0}", user.id);
 }