mirror of
https://dev.azure.com/tstanciu94/Tuitio/_git/Tuitio
synced 2025-03-28 23:52:20 +02:00
17 lines
405 B
C#
17 lines
405 B
C#
using AutoMapper;
|
|
using IdentityServer.Domain.Entities;
|
|
using dto = IdentityServer.PublishedLanguage.Dto;
|
|
using models = IdentityServer.Domain.Models;
|
|
|
|
namespace IdentityServer.Application.Mappings
|
|
{
|
|
public class MappingProfile : Profile
|
|
{
|
|
public MappingProfile()
|
|
{
|
|
CreateMap<models.Token, dto.Token>();
|
|
CreateMap<AppUser, dto.User>();
|
|
}
|
|
}
|
|
}
|