zeroframework/Services/Identity/ZeroFramework.IdentityServer.API/AutoMapper/UsersProfile.cs

17 lines
486 B
C#
Raw Permalink Normal View History

2023-12-05 09:22:48 +00:00
using AutoMapper;
using ZeroFramework.IdentityServer.API.IdentityStores;
using ZeroFramework.IdentityServer.API.Models.Users;
namespace ZeroFramework.IdentityServer.API.AutoMapper
{
public class UsersProfile : Profile
{
public UsersProfile()
{
CreateMap<ApplicationUser, UserGetResponseModel>();
CreateMap<UserCreateRequestModel, ApplicationUser>();
CreateMap<UserUpdateRequestModel, ApplicationUser>();
}
}
}