7.2.1 Creating an Abstract Repository; Listing 7-4. The Contents of the IProductRepository.cs
parent
a6eb8237d4
commit
889b3e7c49
|
@ -0,0 +1,14 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using SportsStore.Domain.Entities;
|
||||
|
||||
namespace SportsStore.Domain.Abstract
|
||||
{
|
||||
public interface IProductRepository
|
||||
{
|
||||
IEnumerable<Product> Products { get; }
|
||||
}
|
||||
}
|
|
@ -63,6 +63,7 @@
|
|||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Abstract\IProductRepository.cs" />
|
||||
<Compile Include="Entities\Product.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue