From d1020581cf541cc813fab2d89dbeb62ab3350a5b Mon Sep 17 00:00:00 2001 From: khwezi Date: Fri, 15 May 2026 08:55:16 +0200 Subject: [PATCH] Updated time to UTC --- Shop/Components/Pages/Contact.razor.cs | 8 ++++---- Shop/Program.cs | 12 ++++++++---- Shop/Shop.csproj | 4 +--- Shop/appsettings.json | 3 ++- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/Shop/Components/Pages/Contact.razor.cs b/Shop/Components/Pages/Contact.razor.cs index f4611fb..5a38f65 100644 --- a/Shop/Components/Pages/Contact.razor.cs +++ b/Shop/Components/Pages/Contact.razor.cs @@ -1,7 +1,7 @@ -using LiteCharms.Abstractions; -using LiteCharms.Features.Email.Events; -using LiteCharms.Models; -using static LiteCharms.Abstractions.Constants; +using LiteCharms.Features.Email.Events; +using LiteCharms.Features.Email.Models; +using LiteCharms.Features.ServiceBus.Abstractions; +using static LiteCharms.Features.ServiceBus.Constants; namespace Shop.Components.Pages; diff --git a/Shop/Program.cs b/Shop/Program.cs index ce75316..9f284ee 100644 --- a/Shop/Program.cs +++ b/Shop/Program.cs @@ -1,6 +1,6 @@ -using LiteCharms.Extensions; +using LiteCharms.Features.Extensions; using Shop.Components; -using static LiteCharms.Abstractions.Constants; +using static LiteCharms.Features.Email.Extensions.Constants; var builder = WebApplication.CreateBuilder(args); @@ -15,11 +15,15 @@ builder.Services.AddEndpointsApiExplorer(); builder.Services.AddMediator(); builder.Services.AddSalesServiceBus(); -builder.Services.AddEmailServiceBus(); builder.Services.AddGeneralServiceBus(); -builder.Services.AddShopDatabase(builder.Configuration); builder.Services.AddQuartzSchedulerClient(ShopSchedulerName, builder.Configuration); +builder.Services.AddEmailServices(builder.Configuration); +builder.Services.AddEmailServiceBus(); + +builder.Services.AddShopServices(); +builder.Services.AddShopDatabase(builder.Configuration); + builder.Services.AddPostgresHealtchCheck(); builder.Services.AddQuartzHealtchCheck(); builder.Services.AddHealthChecksSupport(builder.Configuration); diff --git a/Shop/Shop.csproj b/Shop/Shop.csproj index 54d1efd..779e028 100644 --- a/Shop/Shop.csproj +++ b/Shop/Shop.csproj @@ -17,9 +17,7 @@ - - - + diff --git a/Shop/appsettings.json b/Shop/appsettings.json index aec5c2e..0bc1570 100644 --- a/Shop/appsettings.json +++ b/Shop/appsettings.json @@ -15,7 +15,8 @@ "Logging": { "LogLevel": { "Default": "Information", - "Microsoft.AspNetCore": "Warning" + "Microsoft.AspNetCore": "Warning", + "Microsoft.EntityFrameworkCore": "Error" } }, "AllowedHosts": "*" -- 2.47.3