Wrote tests for most services, applied EF core optimisations

This commit is contained in:
Khwezi Mngoma
2026-05-29 01:05:22 +02:00
parent 4e53ff8a37
commit 2546c34ffc
22 changed files with 793 additions and 297 deletions
@@ -1,6 +1,6 @@
namespace LiteCharms.Features.MidrandBooks.Orders.Models;
public sealed record CreateOrder(long CustomerId, decimal TotalPrice, string? Notes);
public sealed record CreateOrder(decimal TotalPrice, string? Notes);
public sealed record CreateOrderItem(long AuthorBookId, long ProductPriceId, int Quantity);