From ece061c04303fffd583f21691bdbe8ae9cad2506 Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Fri, 20 Aug 2021 12:07:09 +1000 Subject: [PATCH] 7.2.1 Creating an Abstract Repository; e.g. 7.4 --- .../Abstract/IProductsRepository.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 SportsStore/SportsStore.Domain/Abstract/IProductsRepository.cs diff --git a/SportsStore/SportsStore.Domain/Abstract/IProductsRepository.cs b/SportsStore/SportsStore.Domain/Abstract/IProductsRepository.cs new file mode 100644 index 0000000..88b9e8d --- /dev/null +++ b/SportsStore/SportsStore.Domain/Abstract/IProductsRepository.cs @@ -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 IProductsRepository + { + IQueryable Products { get; } + } +}