C# Class Solutionizing.DynamicDemoCS.DiscountRepository

Show file Open project: dahlbyk/Presentations Class Usage Examples

Public Methods

Method Description
DiscountRepository ( System.Xml.Linq.XDocument doc ) : System
GetAll ( ) : IEnumerable
GetByCode ( string code ) : Discount

Method Details

DiscountRepository() public method

public DiscountRepository ( System.Xml.Linq.XDocument doc ) : System
doc System.Xml.Linq.XDocument
return System

GetAll() public method

public GetAll ( ) : IEnumerable
return IEnumerable

GetByCode() public method

public GetByCode ( string code ) : Discount
code string
return Discount