Ensured UTC is used

This commit is contained in:
Khwezi Mngoma
2026-05-15 08:37:58 +02:00
parent 4523ef6151
commit 65687d231e
9 changed files with 24 additions and 24 deletions
@@ -103,6 +103,7 @@ public class LeadService(IDbContextFactory<ShopDbContext> contextFactory)
return Result.Fail(new Error($"Lead with ID {leadId} not found."));
lead.Status = status;
lead.UpdatedAt = DateTime.UtcNow;
return await context.SaveChangesAsync(cancellationToken) > 0
? Result.Ok()