9.3.3.1 Defining the Interface; Listing 9-14 The Contents of the IOrderProcessor.cs File
parent
41f564e967
commit
021dd4d937
|
@ -0,0 +1,14 @@
|
||||||
|
using SportsStore.Domain.Entities;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace SportsStore.Domain.Abstract
|
||||||
|
{
|
||||||
|
interface IOrderProcessor
|
||||||
|
{
|
||||||
|
void ProcessOrder(Cart cart, ShippingDetails shippingDetails);
|
||||||
|
}
|
||||||
|
}
|
|
@ -72,6 +72,7 @@
|
||||||
<Reference Include="System.Xml" />
|
<Reference Include="System.Xml" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<Compile Include="Abstract\IOrderProcessor.cs" />
|
||||||
<Compile Include="Abstract\IProductRepository.cs" />
|
<Compile Include="Abstract\IProductRepository.cs" />
|
||||||
<Compile Include="Concrete\EFDbContext.cs" />
|
<Compile Include="Concrete\EFDbContext.cs" />
|
||||||
<Compile Include="Concrete\EFProductRepository.cs" />
|
<Compile Include="Concrete\EFProductRepository.cs" />
|
||||||
|
|
Loading…
Reference in New Issue