From a7ad55e9735c319385388fadab7465d155b56150 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 1 Dec 2025 16:07:11 +0100 Subject: [PATCH] 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`. --- src/ReC.Application/RecActions/MappingProfile.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/ReC.Application/RecActions/MappingProfile.cs diff --git a/src/ReC.Application/RecActions/MappingProfile.cs b/src/ReC.Application/RecActions/MappingProfile.cs new file mode 100644 index 0000000..7955c35 --- /dev/null +++ b/src/ReC.Application/RecActions/MappingProfile.cs @@ -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(); + } +} \ No newline at end of file