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.
21 lines
586 B
21 lines
586 B
using AutoMapper;
|
|
using IdentityServer.DDD.Contracts.Inputs;
|
|
using IdentityServer.DDD.Contracts.Models;
|
|
using IdentityServer.DDD.Domain.Entites;
|
|
|
|
namespace IdentityServer.DDD.Contracts;
|
|
|
|
public class TenantManagementMappingProfile : Profile
|
|
{
|
|
public TenantManagementMappingProfile()
|
|
{
|
|
CreateMap<TenantCreateInput, Tenant>();
|
|
CreateMap<TenantUpdateInput, Tenant>();
|
|
CreateMap<Tenant, TenantModel>();
|
|
|
|
//IdentityRoleModel
|
|
CreateMap<IdentityRoleCreateInput, IdentityRole>();
|
|
CreateMap<IdentityRole, IdentityRoleModel>();
|
|
|
|
}
|
|
}
|
|
|