C# Class CardShop.Service.ManageStoreService

Inheritance: IManageStoreService
Exibir arquivo Open project: egreene/PracticeGDVP Class Usage Examples

Public Methods

Method Description
EditStore ( Store ownedStore, Store changesToStore, bool &success ) : Store

Edits the Discount to the Store

GetStores ( int ownerId ) : List

virtual Method for Lambda expression to get all stores

ManageStoreService ( ) : System

No-Args constructor sets singleton instance of PracticeGDVPDao

OwnedStore ( int ownerId ) : Store

Find a Store which is owned by the ownerId

Method Details

EditStore() public method

Edits the Discount to the Store
public EditStore ( Store ownedStore, Store changesToStore, bool &success ) : Store
ownedStore CardShop.Models.Store
changesToStore CardShop.Models.Store
success bool
return CardShop.Models.Store

GetStores() public method

virtual Method for Lambda expression to get all stores
public GetStores ( int ownerId ) : List
ownerId int
return List

ManageStoreService() public method

No-Args constructor sets singleton instance of PracticeGDVPDao
public ManageStoreService ( ) : System
return System

OwnedStore() public method

Find a Store which is owned by the ownerId
public OwnedStore ( int ownerId ) : Store
ownerId int Presumed store owner
return CardShop.Models.Store