Remove the interface ISingleResultSpecification usage from any specification (#959)

ISingleResultSpecification is Obsolete

Co-authored-by: junqiao.duan <junqiao.duan@geneseeq.com>
This commit is contained in:
Junqiao
2023-10-18 01:42:36 +08:00
committed by GitHub
parent cd5302577d
commit 36746a52b7
2 changed files with 2 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ using Microsoft.eShopWeb.ApplicationCore.Entities.BasketAggregate;
namespace Microsoft.eShopWeb.ApplicationCore.Specifications; namespace Microsoft.eShopWeb.ApplicationCore.Specifications;
public sealed class BasketWithItemsSpecification : Specification<Basket>, ISingleResultSpecification public sealed class BasketWithItemsSpecification : Specification<Basket>
{ {
public BasketWithItemsSpecification(int basketId) public BasketWithItemsSpecification(int basketId)
{ {

View File

@@ -3,7 +3,7 @@ using Microsoft.eShopWeb.ApplicationCore.Entities.OrderAggregate;
namespace Microsoft.eShopWeb.ApplicationCore.Specifications; namespace Microsoft.eShopWeb.ApplicationCore.Specifications;
public class OrderWithItemsByIdSpec : Specification<Order>, ISingleResultSpecification public class OrderWithItemsByIdSpec : Specification<Order>
{ {
public OrderWithItemsByIdSpec(int orderId) public OrderWithItemsByIdSpec(int orderId)
{ {