first commit
This commit is contained in:
@ -0,0 +1,25 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<Import Project="..\..\common.props" />
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<RootNamespace>KonSoft.TenantManagement</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\KonSoft.TenantManagement.Domain\KonSoft.TenantManagement.Domain.csproj" />
|
||||
<ProjectReference Include="..\KonSoft.TenantManagement.Application.Contracts\KonSoft.TenantManagement.Application.Contracts.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Volo.Abp.Account.Application" Version="8.3.4" />
|
||||
<PackageReference Include="Volo.Abp.Identity.Application" Version="8.3.4" />
|
||||
<PackageReference Include="Volo.Abp.PermissionManagement.Application" Version="8.3.4" />
|
||||
<PackageReference Include="Volo.Abp.TenantManagement.Application" Version="8.3.4" />
|
||||
<PackageReference Include="Volo.Abp.FeatureManagement.Application" Version="8.3.4" />
|
||||
<PackageReference Include="Volo.Abp.SettingManagement.Application" Version="8.3.4" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@ -0,0 +1,2 @@
|
||||
using System.Runtime.CompilerServices;
|
||||
[assembly:InternalsVisibleToAttribute("KonSoft.TenantManagement.Application.Tests")]
|
||||
@ -0,0 +1,17 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using KonSoft.TenantManagement.Localization;
|
||||
using Volo.Abp.Application.Services;
|
||||
|
||||
namespace KonSoft.TenantManagement;
|
||||
|
||||
/* Inherit your application services from this class.
|
||||
*/
|
||||
public abstract class TenantManagementAppService : ApplicationService
|
||||
{
|
||||
protected TenantManagementAppService()
|
||||
{
|
||||
LocalizationResource = typeof(TenantManagementResource);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,13 @@
|
||||
using AutoMapper;
|
||||
|
||||
namespace KonSoft.TenantManagement;
|
||||
|
||||
public class TenantManagementApplicationAutoMapperProfile : Profile
|
||||
{
|
||||
public TenantManagementApplicationAutoMapperProfile()
|
||||
{
|
||||
/* You can configure your AutoMapper mapping configuration here.
|
||||
* Alternatively, you can split your mapping configurations
|
||||
* into multiple profile classes for a better organization. */
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,31 @@
|
||||
using Volo.Abp.Account;
|
||||
using Volo.Abp.AutoMapper;
|
||||
using Volo.Abp.FeatureManagement;
|
||||
using Volo.Abp.Identity;
|
||||
using Volo.Abp.Modularity;
|
||||
using Volo.Abp.PermissionManagement;
|
||||
using Volo.Abp.SettingManagement;
|
||||
using Volo.Abp.TenantManagement;
|
||||
|
||||
namespace KonSoft.TenantManagement;
|
||||
|
||||
[DependsOn(
|
||||
typeof(TenantManagementDomainModule),
|
||||
typeof(AbpAccountApplicationModule),
|
||||
typeof(TenantManagementApplicationContractsModule),
|
||||
typeof(AbpIdentityApplicationModule),
|
||||
typeof(AbpPermissionManagementApplicationModule),
|
||||
typeof(AbpTenantManagementApplicationModule),
|
||||
typeof(AbpFeatureManagementApplicationModule),
|
||||
typeof(AbpSettingManagementApplicationModule)
|
||||
)]
|
||||
public class TenantManagementApplicationModule : AbpModule
|
||||
{
|
||||
public override void ConfigureServices(ServiceConfigurationContext context)
|
||||
{
|
||||
Configure<AbpAutoMapperOptions>(options =>
|
||||
{
|
||||
options.AddMaps<TenantManagementApplicationModule>();
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user