mirror of
https://dev.azure.com/tstanciu94/Chatbot/_git/Chatbot
synced 2025-06-21 20:48:22 +03:00
mapping fix
This commit is contained in:
parent
b8840707db
commit
9ce8ba06f6
@ -43,7 +43,7 @@ namespace Chatbot.Api
|
||||
.MinimumLevel.Override("Microsoft", LogEventLevel.Warning)
|
||||
.Enrich.FromLogContext()
|
||||
.WriteTo.Console()
|
||||
.WriteTo.MSSqlServer(connectionString, "__Logs_Api", autoCreateSqlTable: true, columnOptions: columnOptions)
|
||||
.WriteTo.MSSqlServer(connectionString, "__Logs", autoCreateSqlTable: true, columnOptions: columnOptions)
|
||||
.CreateLogger();
|
||||
|
||||
try
|
||||
|
@ -1,4 +1,5 @@
|
||||
using AutoMapper;
|
||||
using Chatbot.Api.Application.Commands;
|
||||
using Chatbot.Api.Application.Queries;
|
||||
using Chatbot.Api.Domain.Entities;
|
||||
|
||||
@ -11,6 +12,7 @@ namespace Chatbot.Api.Application.Mappings
|
||||
CreateMap<Bot, GetBots.Model>();
|
||||
CreateMap<BotSession, GetSession.Model>();
|
||||
CreateMap<Chat, GetChat.Model>();
|
||||
CreateMap<SaveChatMessage, ChatMessage>();
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user