Пример #1
0
        public override void PreConfigureServices(ServiceConfigurationContext context)
        {
            HelloAbpDtoExtensions.Configure();

            ModuleExtensionConfigurationHelper
            .ApplyEntityConfigurationToApi(
                IdentityModuleExtensionConsts.ModuleName,
                IdentityModuleExtensionConsts.EntityNames.OrganizationUnit,
                getApiTypes: new[] { typeof(OrganizationUnitDto) },
                createApiTypes: new[] { typeof(OrganizationUnitCreateDto) },
                updateApiTypes: new[] { typeof(OrganizationUnitUpdateDto) }
                );
        }
 public override void PreConfigureServices(ServiceConfigurationContext context)
 {
     HelloAbpDtoExtensions.Configure();
 }