C# Class Cats.Services.Hub.OtherDispatchAllocationService

Inheritance: IOtherDispatchAllocationService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddOtherDispatchAllocation ( OtherDispatchAllocation otherDispatchAllocation ) : bool
CloseById ( System.Guid id ) : void
DeleteById ( int id ) : bool
DeleteOtherDispatchAllocation ( OtherDispatchAllocation otherDispatchAllocation ) : bool
Dispose ( ) : void
EditOtherDispatchAllocation ( OtherDispatchAllocation otherDispatchAllocation ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( System.Guid id ) : OtherDispatchAllocation
FindById ( int id ) : OtherDispatchAllocation
GetAllOtherDispatchAllocation ( ) : List
GetAllToCurrentOwnerHubs ( UserProfile user ) : List
GetAllToOtherOwnerHubs ( UserProfile user ) : List
GetCommitedLoanAllocationsDetached ( UserProfile user, bool closedToo, int CommodityType ) : List
GetCommitedLoanAllocationsDetached ( UserProfile user, int hubId, bool closedToo, int CommodityType ) : List
GetCommitedTransferAllocationsDetached ( UserProfile user, bool closedToo, int CommodityType ) : List
GetCommitedTransferAllocationsDetached ( UserProfile user, int hubId, bool closedToo, int CommodityType ) : List
GetViewModelByID ( System.Guid otherDispatchAllocationId ) : OtherDispatchAllocationViewModel
OtherDispatchAllocationService ( IUnitOfWork unitOfWork, IProjectCodeService projectCodeService, IShippingInstructionService ShippingInstructionService ) : System
Save ( Models model ) : void

Method Details

AddOtherDispatchAllocation() public method

public AddOtherDispatchAllocation ( OtherDispatchAllocation otherDispatchAllocation ) : bool
otherDispatchAllocation Cats.Models.Hubs.OtherDispatchAllocation
return bool

CloseById() public method

public CloseById ( System.Guid id ) : void
id System.Guid
return void

DeleteById() public method

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

DeleteOtherDispatchAllocation() public method

public DeleteOtherDispatchAllocation ( OtherDispatchAllocation otherDispatchAllocation ) : bool
otherDispatchAllocation Cats.Models.Hubs.OtherDispatchAllocation
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditOtherDispatchAllocation() public method

public EditOtherDispatchAllocation ( OtherDispatchAllocation otherDispatchAllocation ) : bool
otherDispatchAllocation Cats.Models.Hubs.OtherDispatchAllocation
return bool

FindBy() public method

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

FindById() public method

public FindById ( System.Guid id ) : OtherDispatchAllocation
id System.Guid
return Cats.Models.Hubs.OtherDispatchAllocation

FindById() public method

public FindById ( int id ) : OtherDispatchAllocation
id int
return Cats.Models.Hubs.OtherDispatchAllocation

GetAllOtherDispatchAllocation() public method

public GetAllOtherDispatchAllocation ( ) : List
return List

GetAllToCurrentOwnerHubs() public method

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

GetAllToOtherOwnerHubs() public method

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

GetCommitedLoanAllocationsDetached() public method

public GetCommitedLoanAllocationsDetached ( UserProfile user, bool closedToo, int CommodityType ) : List
user Cats.Models.Hubs.UserProfile
closedToo bool
CommodityType int
return List

GetCommitedLoanAllocationsDetached() public method

public GetCommitedLoanAllocationsDetached ( UserProfile user, int hubId, bool closedToo, int CommodityType ) : List
user Cats.Models.Hubs.UserProfile
hubId int
closedToo bool
CommodityType int
return List

GetCommitedTransferAllocationsDetached() public method

public GetCommitedTransferAllocationsDetached ( UserProfile user, bool closedToo, int CommodityType ) : List
user Cats.Models.Hubs.UserProfile
closedToo bool
CommodityType int
return List

GetCommitedTransferAllocationsDetached() public method

public GetCommitedTransferAllocationsDetached ( UserProfile user, int hubId, bool closedToo, int CommodityType ) : List
user Cats.Models.Hubs.UserProfile
hubId int
closedToo bool
CommodityType int
return List

GetViewModelByID() public method

public GetViewModelByID ( System.Guid otherDispatchAllocationId ) : OtherDispatchAllocationViewModel
otherDispatchAllocationId System.Guid
return Cats.Models.Hubs.ViewModels.Dispatch.OtherDispatchAllocationViewModel

OtherDispatchAllocationService() public method

public OtherDispatchAllocationService ( IUnitOfWork unitOfWork, IProjectCodeService projectCodeService, IShippingInstructionService ShippingInstructionService ) : System
unitOfWork IUnitOfWork
projectCodeService IProjectCodeService
ShippingInstructionService IShippingInstructionService
return System

Save() public method

public Save ( Models model ) : void
model Models
return void