C# Class Cats.Services.Hub.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
EditStore ( Store store ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : Store
FindCommodityById ( int id ) : Commodity
FindHubById ( int HubId ) : Models.Hubs.Hub
GetAllByHUbs ( List HubIds ) : List
GetAllStore ( ) : List
GetBinCard ( int hubID, int StoreID, int CommodityID, string ProjectID ) : IEnumerable
GetStacksByStoreId ( int StoreId ) : List
GetStacksByToStoreIdFromStoreIdFromStack ( int ToStoreId, int FromStoreId, int FromStackId ) : List
GetStacksWithSIBalance ( int storeId, int siNumber ) : List
GetStoreByHub ( int hubId ) : List
GetStoresWithBalanceOfCommodity ( int parentCommodityId, int hubId ) : List
GetStoresWithBalanceOfCommodityAndSINumber ( int commodityId, int SINumber, int hubId ) : List
StoreService ( IUnitOfWork unitOfWork ) : System

Method Details

AddStore() public méthode

public AddStore ( Store store ) : bool
store Cats.Models.Hubs.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.Hubs.Store
Résultat bool

EditStore() public méthode

public EditStore ( Store store ) : bool
store Cats.Models.Hubs.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.Hubs.Store

FindCommodityById() public méthode

public FindCommodityById ( int id ) : Commodity
id int
Résultat Cats.Models.Hubs.Commodity

FindHubById() public méthode

public FindHubById ( int HubId ) : Models.Hubs.Hub
HubId int
Résultat Models.Hubs.Hub

GetAllByHUbs() public méthode

public GetAllByHUbs ( List HubIds ) : List
HubIds List
Résultat List

GetAllStore() public méthode

public GetAllStore ( ) : List
Résultat List

GetBinCard() public méthode

public GetBinCard ( int hubID, int StoreID, int CommodityID, string ProjectID ) : IEnumerable
hubID int
StoreID int
CommodityID int
ProjectID string
Résultat IEnumerable

GetStacksByStoreId() public méthode

public GetStacksByStoreId ( int StoreId ) : List
StoreId int
Résultat List

GetStacksByToStoreIdFromStoreIdFromStack() public méthode

public GetStacksByToStoreIdFromStoreIdFromStack ( int ToStoreId, int FromStoreId, int FromStackId ) : List
ToStoreId int
FromStoreId int
FromStackId int
Résultat List

GetStacksWithSIBalance() public méthode

public GetStacksWithSIBalance ( int storeId, int siNumber ) : List
storeId int
siNumber int
Résultat List

GetStoreByHub() public méthode

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

GetStoresWithBalanceOfCommodity() public méthode

public GetStoresWithBalanceOfCommodity ( int parentCommodityId, int hubId ) : List
parentCommodityId int
hubId int
Résultat List

GetStoresWithBalanceOfCommodityAndSINumber() public méthode

public GetStoresWithBalanceOfCommodityAndSINumber ( int commodityId, int SINumber, int hubId ) : List
commodityId int
SINumber int
hubId int
Résultat List

StoreService() public méthode

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