mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.2 KiB
34 lines
1.2 KiB
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.TenantManagement;
|
|
|
|
namespace Acme.BookStore
|
|
{
|
|
[DependsOn(
|
|
typeof(BookStoreDomainModule),
|
|
typeof(BookStoreApplicationContractsModule),
|
|
typeof(AbpAccountApplicationModule),
|
|
typeof(AbpIdentityApplicationModule),
|
|
typeof(AbpPermissionManagementApplicationModule),
|
|
typeof(AbpTenantManagementApplicationModule),
|
|
typeof(AbpFeatureManagementApplicationModule)
|
|
)]
|
|
public class BookStoreApplicationModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpAutoMapperOptions>(options =>
|
|
{
|
|
/* Use `true` for the `validate` parameter if you want to
|
|
* validate the profile on application startup.
|
|
* See http://docs.automapper.org/en/stable/Configuration-validation.html for more info
|
|
* about the configuration validation. */
|
|
options.AddProfile<BookStoreApplicationAutoMapperProfile>();
|
|
});
|
|
}
|
|
}
|
|
}
|
|
|