Call SaveChanges after creating a new tenant.

Resolve #3618
pull/3702/head
maliming 5 years ago
parent d234263b27
commit 07056aa9f3

@ -56,6 +56,8 @@ namespace Volo.Abp.TenantManagement
await TenantRepository.InsertAsync(tenant);
await CurrentUnitOfWork.SaveChangesAsync();
using (CurrentTenant.Change(tenant.Id, tenant.Name))
{
//TODO: Handle database creation?

Loading…
Cancel
Save