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.
This commit is contained in:
tekh 2025-12-03 10:01:38 +01:00
parent 50e092d9e2
commit 6a3e0b7d50
2 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ using ReC.Domain.Entities;
namespace ReC.Application.Common.Dto; namespace ReC.Application.Common.Dto;
public class DtoMappingProfile : Profile public class DtoMappingProfile : AutoMapper.Profile
{ {
public DtoMappingProfile() public DtoMappingProfile()
{ {

View File

@ -4,7 +4,7 @@ using ReC.Domain.Entities;
namespace ReC.Application.OutResults; namespace ReC.Application.OutResults;
public class MappingProfiles : Profile public class MappingProfiles : AutoMapper.Profile
{ {
public MappingProfiles() public MappingProfiles()
{ {