mirror of https://github.com/abpframework/abp.git
2 changed files with 7 additions and 21 deletions
@ -1,18 +0,0 @@ |
|||
using System; |
|||
using System.Threading.Tasks; |
|||
using Volo.Abp.Data; |
|||
|
|||
namespace Volo.Abp.TenantManagement |
|||
{ |
|||
public static class DataSeederExtensions |
|||
{ |
|||
public static Task SeedAsync(this IDataSeeder seeder, Guid? tenantId, TenantCreateDto input) |
|||
{ |
|||
var context = new DataSeedContext(tenantId) |
|||
.WithProperty("AdminEmail", input.AdminEmailAddress) |
|||
.WithProperty("AdminPassword", input.AdminPassword); |
|||
|
|||
return seeder.SeedAsync(context); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue