Open Closed

Cannot create new tenant in 4.3.2 #1505


User avatar
0
lan.dang created

I am implementing feature to allow user register as a tenant. I have 2 issues :

  1. When I call function _tenantManager.CreateAsync, I can see new tenant is created but it is not saved to database

  2. What should I do to create data for tenant (User, Roles..etc)


3 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    You can refer the tenant module: https://github.com/abpframework/abp/blob/dev/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/TenantAppService.cs#L59

  • User Avatar
    0
    lan.dang created

    Thank you, it solves my issue

  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    sovled

Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15