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.
19 lines
546 B
19 lines
546 B
using AutoMapper;
|
|
using Easy.AuthorityManagement.Clean.Contracts.Inputs;
|
|
using Easy.AuthorityManagement.Clean.Contracts.Models;
|
|
|
|
namespace Easy.AuthorityManagement.Clean.Contracts;
|
|
|
|
public class MapperProfile : Profile
|
|
{
|
|
public MapperProfile()
|
|
{
|
|
CreateMap<TenantCreateInput, Tenant>();
|
|
CreateMap<TenantUpdateInput, Tenant>();
|
|
CreateMap<Tenant, TenantModel>();
|
|
|
|
//IdentityRoleModel
|
|
CreateMap<IdentityRoleCreateInput, IdentityRole>();
|
|
CreateMap<IdentityRole, IdentityRoleModel>();
|
|
}
|
|
}
|
|
|