C# Class Gringotts.Persistence.OfferRepository

Show file Open project: bagheera/Gringotts Class Usage Examples

Public Methods

Method Description
FetchAll ( ) : IList
GetOfferById ( int id ) : Offer
OfferRepository ( ISession session ) : System.Collections.Generic
Save ( Offer offer ) : void

Method Details

FetchAll() public method

public FetchAll ( ) : IList
return IList

GetOfferById() public method

public GetOfferById ( int id ) : Offer
id int
return Gringotts.Domain.Offer

OfferRepository() public method

public OfferRepository ( ISession session ) : System.Collections.Generic
session ISession
return System.Collections.Generic

Save() public method

public Save ( Offer offer ) : void
offer Gringotts.Domain.Offer
return void