C# Class CardShop.Service.ManageStoreService

Inheritance: IManageStoreService
Afficher le fichier Open project: egreene/PracticeGDVP Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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
Résultat CardShop.Models.Store

GetStores() public méthode

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

ManageStoreService() public méthode

No-Args constructor sets singleton instance of PracticeGDVPDao
public ManageStoreService ( ) : System
Résultat System

OwnedStore() public méthode

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