mirror of https://github.com/abpframework/abp
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.
26 lines
728 B
26 lines
728 B
using Acme.BookStore.Permissions;
|
|
using Volo.Abp.Authorization.Permissions;
|
|
using Volo.Abp.AutoMapper;
|
|
using Volo.Abp.Identity;
|
|
using Volo.Abp.Modularity;
|
|
using Volo.Abp.PermissionManagement;
|
|
|
|
namespace Acme.BookStore
|
|
{
|
|
[DependsOn(
|
|
typeof(BookStoreDomainModule),
|
|
typeof(AbpIdentityApplicationModule),
|
|
typeof(AbpPermissionManagementApplicationModule)
|
|
)]
|
|
public class BookStoreApplicationModule : AbpModule
|
|
{
|
|
public override void ConfigureServices(ServiceConfigurationContext context)
|
|
{
|
|
Configure<AbpAutoMapperOptions>(options =>
|
|
{
|
|
options.AddProfile<BookStoreApplicationAutoMapperProfile>();
|
|
});
|
|
}
|
|
}
|
|
}
|