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.
13 lines
237 B
C#
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>();
|
|
}
|
|
}
|