C# Class Onion.Infrastructure.Repositories.ProductRepository

Inheritance: IProductRepository
Datei anzeigen Open project: sharifhkhan/OnionArchitecture

Public Methods

Method Description
GetProducts ( ) : IEnumerable
GetProductsByCategoryId ( int catId ) : IEnumerable
ProductRepository ( IRepositoryContext dbContext ) : System.Collections.Generic

Method Details

GetProducts() public method

public GetProducts ( ) : IEnumerable
return IEnumerable

GetProductsByCategoryId() public method

public GetProductsByCategoryId ( int catId ) : IEnumerable
catId int
return IEnumerable

ProductRepository() public method

public ProductRepository ( IRepositoryContext dbContext ) : System.Collections.Generic
dbContext IRepositoryContext
return System.Collections.Generic