C# Class DRMFSS.BLL.Services.HubService

Inheritance: IHubService
Show file Open project: edgecomputing/cats-hub-module

Public Methods

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

Method Details

AddHub() public method

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

DeleteById() public method

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

DeleteHub() public method

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

Dispose() public method

public Dispose ( ) : void
return void

EditHub() public method

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

FindBy() public method

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

FindById() public method

public FindById ( int id ) : Hub
id int
return Hub

GetAllHub() public method

public GetAllHub ( ) : List
return List

GetAllStoreByUser() public method

public GetAllStoreByUser ( UserProfile user ) : List
user 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 DRMFSS.BLL.ViewModels.Report.FreeStockFilterViewModel
return List

GetOthersHavingSameOwner() public method

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

GetOthersWithDifferentOwner() public method

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

GetStatusReportBySI() public method

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

GetStockStatusReport() public method

public GetStockStatusReport ( int hubID, int commodityID ) : IEnumerable
hubID int
commodityID int
return IEnumerable

HubService() public method

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