mirror of
https://github.com/rudollee/LearningMVC.git
synced 2025-06-07 16:06:21 +00:00
19 lines
396 B
C#
19 lines
396 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using SportsStore.Domain.Abstract;
|
|
using SportsStore.Domain.Entities;
|
|
|
|
namespace SportsStore.Domain.Concrete
|
|
{
|
|
public class EFProductRepository : IProductRepository
|
|
{
|
|
private EFDbContext context = new EFDbContext();
|
|
|
|
public IEnumerable<Product> Products
|
|
{
|
|
get { return context.Products; }
|
|
}
|
|
}
|
|
} |