C# Class Cats.Services.Hub.HubService

Inheritance: IHubService
Show file Open project: edgecomputing/cats

Public Methods

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

public AddHub ( Models hub ) : bool
hub Models
return bool

DeleteById() public method

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

DeleteHub() public method

public DeleteHub ( Models hub ) : bool
hub Models
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditHub() public method

public EditHub ( Models hub ) : bool
hub Models
return bool

FindBy() public method

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

FindById() public method

public FindById ( int id ) : Models.Hubs.Hub
id int
return Models.Hubs.Hub

GetAllHub() public method

public GetAllHub ( ) : List
return List

GetAllStoreByUser() public method

public GetAllStoreByUser ( UserProfile user ) : List
user Cats.Models.Hubs.UserProfile
return List

GetAllWithoutId() public method

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

GetDispatchFulfillmentStatus() public method

public GetDispatchFulfillmentStatus ( int hubID ) : IEnumerable
hubID int
return IEnumerable

GetFreeStockGroupedByProgram() public method

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

GetOthersHavingSameOwner() public method

public GetOthersHavingSameOwner ( Models hub ) : List
hub Models
return List

GetOthersWithDifferentOwner() public method

public GetOthersWithDifferentOwner ( Models hub ) : List
hub Models
return List

GetStatusReportBySI() public method

public GetStatusReportBySI ( int hubID ) : IEnumerable
hubID int
return IEnumerable

GetStockStatusReport() public method

public GetStockStatusReport ( int hubID, int commodityID ) : DataTable
hubID int
commodityID int
return System.Data.DataTable

HubService() public method

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