From 36746a52b725d432b0c82258b1d6a19c500d9268 Mon Sep 17 00:00:00 2001 From: Junqiao Date: Wed, 18 Oct 2023 01:42:36 +0800 Subject: [PATCH] Remove the interface ISingleResultSpecification usage from any specification (#959) ISingleResultSpecification is Obsolete Co-authored-by: junqiao.duan --- .../Specifications/BasketWithItemsSpecification.cs | 2 +- src/ApplicationCore/Specifications/OrderWithItemsByIdSpec.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ApplicationCore/Specifications/BasketWithItemsSpecification.cs b/src/ApplicationCore/Specifications/BasketWithItemsSpecification.cs index 015ca31de..d59714698 100644 --- a/src/ApplicationCore/Specifications/BasketWithItemsSpecification.cs +++ b/src/ApplicationCore/Specifications/BasketWithItemsSpecification.cs @@ -3,7 +3,7 @@ namespace Microsoft.eShopWeb.ApplicationCore.Specifications; -public sealed class BasketWithItemsSpecification : Specification, ISingleResultSpecification +public sealed class BasketWithItemsSpecification : Specification { public BasketWithItemsSpecification(int basketId) { diff --git a/src/ApplicationCore/Specifications/OrderWithItemsByIdSpec.cs b/src/ApplicationCore/Specifications/OrderWithItemsByIdSpec.cs index 2f0d888f4..c9b3a729d 100644 --- a/src/ApplicationCore/Specifications/OrderWithItemsByIdSpec.cs +++ b/src/ApplicationCore/Specifications/OrderWithItemsByIdSpec.cs @@ -3,7 +3,7 @@ namespace Microsoft.eShopWeb.ApplicationCore.Specifications; -public class OrderWithItemsByIdSpec : Specification, ISingleResultSpecification +public class OrderWithItemsByIdSpec : Specification { public OrderWithItemsByIdSpec(int orderId) {