This commit is contained in:
2026-08-02 11:18:27 +03:30
parent 9a13fa68a7
commit fbbc728366
9 changed files with 113 additions and 11 deletions
@@ -5,11 +5,21 @@ using System.Threading.Tasks;
using AutoMapper;
using xAiModels.Models.Dtos;
using xAiModels.Models.Entities;
using xIdentityService.Interfaces;
namespace xAiModels.Configurations.Entities
{
public class XAiMessageMappingAction : IMappingAction<XAiMessage, XAiMessageDto>
{
private readonly IXIdentityProvider identityProvider;
public XAiMessageMappingAction(
IXIdentityProvider identityProvider
)
{
this.identityProvider = identityProvider;
}
public void Process(
XAiMessage source,
XAiMessageDto destination,