Open Closed

create organizaton unit #2818


User avatar
0
shobhit created
  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

how i can create organization unit in api. i have tried with IOrganizationRepo.InsertAsync() but it is breaking as code is manadatory and there is no way i can set Code.


1 Answer(s)
  • User Avatar
    0
    gterdem created
    Senior .NET Developer

    Try using IOrganizationUnitAppService under the IdentityPro module namespace.

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on June 12, 2025, 09:12