C# Class Cats.Services.Administration.StoreService

Inheritance: IStoreService
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode Description
AddStore ( Store store ) : bool
DeleteByID ( int id ) : bool
DeleteById ( int id ) : bool
DeleteStore ( Store store ) : bool
Dispose ( ) : void
EditStore ( Store store ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Store
GetAllStore ( ) : List
GetStoreByHub ( int hubId ) : List
StoreService ( IUnitOfWork unitOfWork ) : System

Method Details

AddStore() public méthode

public AddStore ( Store store ) : bool
store Cats.Models.Store
Résultat bool

DeleteByID() public méthode

public DeleteByID ( int id ) : bool
id int
Résultat bool

DeleteById() public méthode

public DeleteById ( int id ) : bool
id int
Résultat bool

DeleteStore() public méthode

public DeleteStore ( Store store ) : bool
store Cats.Models.Store
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditStore() public méthode

public EditStore ( Store store ) : bool
store Cats.Models.Store
Résultat bool

FindBy() public méthode

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
Résultat List

FindById() public méthode

public FindById ( int id ) : Store
id int
Résultat Cats.Models.Store

GetAllStore() public méthode

public GetAllStore ( ) : List
Résultat List

GetStoreByHub() public méthode

public GetStoreByHub ( int hubId ) : List
hubId int
Résultat List

StoreService() public méthode

public StoreService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
Résultat System