diff --git a/Chatbot.Api/Program.cs b/Chatbot.Api/Program.cs index 10faabe..d33556f 100644 --- a/Chatbot.Api/Program.cs +++ b/Chatbot.Api/Program.cs @@ -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 diff --git a/Chatbot.Application/Mappings/MappingProfile.cs b/Chatbot.Application/Mappings/MappingProfile.cs index 237b8ec..5066262 100644 --- a/Chatbot.Application/Mappings/MappingProfile.cs +++ b/Chatbot.Application/Mappings/MappingProfile.cs @@ -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(); CreateMap(); CreateMap(); + CreateMap(); } } } \ No newline at end of file