C# Class Cats.Services.Hub.HubService

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

Méthodes publiques

Méthode Description
AddHub ( Models hub ) : bool
DeleteById ( int id ) : bool
DeleteHub ( Models hub ) : bool
Dispose ( ) : void
EditHub ( Models hub ) : bool
FindBy ( bool>.System predicate ) : List
FindById ( int id ) : Models.Hubs.Hub
GetAllHub ( ) : List
GetAllStoreByUser ( UserProfile user ) : List
GetAllWithoutId ( int hubId ) : List
GetDispatchFulfillmentStatus ( int hubID ) : IEnumerable
GetFreeStockGroupedByProgram ( int HuBID, FreeStockFilterViewModel freeStockFilterViewModel ) : List
GetOthersHavingSameOwner ( Models hub ) : List
GetOthersWithDifferentOwner ( Models hub ) : List
GetStatusReportBySI ( int hubID ) : IEnumerable
GetStockStatusReport ( int hubID, int commodityID ) : DataTable
HubService ( IUnitOfWork unitOfWork ) : System

Method Details

AddHub() public méthode

public AddHub ( Models hub ) : bool
hub Models
Résultat bool

DeleteById() public méthode

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

DeleteHub() public méthode

public DeleteHub ( Models hub ) : bool
hub Models
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditHub() public méthode

public EditHub ( Models hub ) : bool
hub Models
Résultat bool

FindBy() public méthode

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

FindById() public méthode

public FindById ( int id ) : Models.Hubs.Hub
id int
Résultat Models.Hubs.Hub

GetAllHub() public méthode

public GetAllHub ( ) : List
Résultat List

GetAllStoreByUser() public méthode

public GetAllStoreByUser ( UserProfile user ) : List
user Cats.Models.Hubs.UserProfile
Résultat List

GetAllWithoutId() public méthode

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

GetDispatchFulfillmentStatus() public méthode

public GetDispatchFulfillmentStatus ( int hubID ) : IEnumerable
hubID int
Résultat IEnumerable

GetFreeStockGroupedByProgram() public méthode

public GetFreeStockGroupedByProgram ( int HuBID, FreeStockFilterViewModel freeStockFilterViewModel ) : List
HuBID int
freeStockFilterViewModel Cats.Models.Hubs.ViewModels.Report.FreeStockFilterViewModel
Résultat List

GetOthersHavingSameOwner() public méthode

public GetOthersHavingSameOwner ( Models hub ) : List
hub Models
Résultat List

GetOthersWithDifferentOwner() public méthode

public GetOthersWithDifferentOwner ( Models hub ) : List
hub Models
Résultat List

GetStatusReportBySI() public méthode

public GetStatusReportBySI ( int hubID ) : IEnumerable
hubID int
Résultat IEnumerable

GetStockStatusReport() public méthode

public GetStockStatusReport ( int hubID, int commodityID ) : DataTable
hubID int
commodityID int
Résultat System.Data.DataTable

HubService() public méthode

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