taskcancellation #131

Merged
khwezi merged 2 commits from taskcancellation into master 2026-06-15 12:08:46 +02:00
Showing only changes of commit 516062ed5d - Show all commits
@@ -215,7 +215,7 @@ public sealed class OrderService(IDbContextFactory<MidrandBooksDbContext> contex
return orderItems.Count > 0
? Result.Ok(orderItems.Select(i => i.ToModel()).ToArray())
: Result.Fail<OrderItem[]>("Order item not found or failed to remove.");
: Result.Fail<OrderItem[]>($"Order items not found for order ID {orderId}");
}
catch (Exception ex)
{