C# Class Cats.Services.Administration.StoreService

Inheritance: IStoreService
显示文件 Open project: edgecomputing/cats

Public Methods

Method 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 method

public AddStore ( Store store ) : bool
store Cats.Models.Store
return bool

DeleteByID() public method

public DeleteByID ( int id ) : bool
id int
return bool

DeleteById() public method

public DeleteById ( int id ) : bool
id int
return bool

DeleteStore() public method

public DeleteStore ( Store store ) : bool
store Cats.Models.Store
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditStore() public method

public EditStore ( Store store ) : bool
store Cats.Models.Store
return bool

FindBy() public method

public FindBy ( bool>.Expression predicate ) : List
predicate bool>.Expression
return List

FindById() public method

public FindById ( int id ) : Store
id int
return Cats.Models.Store

GetAllStore() public method

public GetAllStore ( ) : List
return List

GetStoreByHub() public method

public GetStoreByHub ( int hubId ) : List
hubId int
return List

StoreService() public method

public StoreService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
return System