public static IdentityResult Delete <TTenant, TUser>(this AbpTenantManager <TTenant, TUser> tenantManager, TTenant tenant)
     where TTenant : AbpTenant <TUser>
     where TUser : AbpUser <TUser>
 {
     return(AsyncHelper.RunSync(() => tenantManager.DeleteAsync(tenant)));
 }
 public static void Delete <TTenant, TUser>(this AbpTenantManager <TTenant, TUser> tenantManager, TTenant tenant)
     where TTenant : AbpTenant <TUser>
     where TUser : AbpUserBase
 {
     AsyncHelper.RunSync(() => tenantManager.DeleteAsync(tenant));
 }