Cleaned up DtoMappingProfile by removing mappings for several domain entities (OutRes, Connection, Endpoint, EndpointAuth, EndpointParam, Profile, RecAction) to their DTOs. Only view-to-DTO mappings remain. Also removed unused using directives.
14 lines
318 B
C#
14 lines
318 B
C#
using ReC.Domain.Views;
|
|
|
|
namespace ReC.Application.Common.Dto;
|
|
|
|
public class DtoMappingProfile : AutoMapper.Profile
|
|
{
|
|
public DtoMappingProfile()
|
|
{
|
|
CreateMap<RecActionView, RecActionViewDto>();
|
|
CreateMap<ResultView, ResultViewDto>();
|
|
CreateMap<ProfileView, ProfileViewDto>();
|
|
}
|
|
}
|