Add MappingProfile for CreateRecActionCommand mapping

Introduced a new `MappingProfile` class in the `ReC.Application.RecActions` namespace to define object-to-object mapping configurations using AutoMapper.

The profile maps `CreateRecActionCommand` to `RecAction`, enabling seamless data transformation between these types. Added necessary `using` directives for `ReC.Application.RecActions.Commands` and `ReC.Domain.Entities`.
This commit is contained in:
tekh 2025-12-01 16:07:11 +01:00
parent 918372371e
commit a7ad55e973

View File

@ -0,0 +1,12 @@
using ReC.Application.RecActions.Commands;
using ReC.Domain.Entities;
namespace ReC.Application.RecActions;
public class MappingProfile : AutoMapper.Profile
{
public MappingProfile()
{
CreateMap<CreateRecActionCommand, RecAction>();
}
}