C# Class Cats.Services.EarlyWarning.HubAllocationService

Inheritance: IHubAllocationService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddHubAllocation ( HubAllocation hubAllocation ) : bool
AddHubAllocations ( IEnumerable allocations, int userProfileId ) : void
DeleteById ( int id ) : bool
DeleteHubAllocation ( HubAllocation hubAllocation ) : bool
Dispose ( ) : void
EditHubAllocation ( HubAllocation hubAllocation ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : HubAllocation
GetAllHubAllocation ( ) : List
GetAllocatedHub ( int id ) : string
GetAllocatedHubByRequisitionNo ( int requisitionNo ) : HubAllocation
GetAllocatedHubId ( int id ) : int
HubAllocationService ( UnitOfWork unitOfWork ) : System

Method Details

AddHubAllocation() public method

public AddHubAllocation ( HubAllocation hubAllocation ) : bool
hubAllocation Cats.Models.HubAllocation
return bool

AddHubAllocations() public method

public AddHubAllocations ( IEnumerable allocations, int userProfileId ) : void
allocations IEnumerable
userProfileId int
return void

DeleteById() public method

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

DeleteHubAllocation() public method

public DeleteHubAllocation ( HubAllocation hubAllocation ) : bool
hubAllocation Cats.Models.HubAllocation
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditHubAllocation() public method

public EditHubAllocation ( HubAllocation hubAllocation ) : bool
hubAllocation Cats.Models.HubAllocation
return bool

FindBy() public method

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

FindById() public method

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

GetAllHubAllocation() public method

public GetAllHubAllocation ( ) : List
return List

GetAllocatedHub() public method

public GetAllocatedHub ( int id ) : string
id int
return string

GetAllocatedHubByRequisitionNo() public method

public GetAllocatedHubByRequisitionNo ( int requisitionNo ) : HubAllocation
requisitionNo int
return Cats.Models.HubAllocation

GetAllocatedHubId() public method

public GetAllocatedHubId ( int id ) : int
id int
return int

HubAllocationService() public method

public HubAllocationService ( UnitOfWork unitOfWork ) : System
unitOfWork Cats.Data.UnitWork.UnitOfWork
return System