ReC/src/ReC.Application/Common/Dto/DtoMappingProfile.cs
TekH 6a3e0b7d50 Refactor AutoMapper profiles and add mappings
Updated `DtoMappingProfile` and `MappingProfiles` to explicitly inherit from `AutoMapper.Profile` for clarity. Added mapping configurations for `RecActionView` to `RecActionDto` and `CreateOutResCommand` to `OutRes` using `CreateMap` in their respective constructors.
2025-12-03 10:01:38 +01:00

13 lines
237 B
C#

using AutoMapper;
using ReC.Domain.Entities;
namespace ReC.Application.Common.Dto;
public class DtoMappingProfile : AutoMapper.Profile
{
public DtoMappingProfile()
{
CreateMap<RecActionView, RecActionDto>();
}
}