C# Class Cats.Services.Common.CommonService

Inheritance: ICommonService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
CommonService ( IUnitOfWork unitOfWork ) : System
Dispose ( ) : void
FindBy ( bool>.Expression predicate ) : List
GetAllGiftCertificates ( ) : List
GetAllHubs ( ) : List
GetAllSupportType ( ) : List
GetAminUnits ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetCommditySourceName ( int id ) : string
GetCommodities ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetCommoditySource ( ) : List
GetCommodityTypes ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetDetails ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetDonors ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetFDPs ( int woredaID ) : List
GetPlan ( string programName ) : List
GetPlan ( int programID ) : List
GetPlans ( ) : List
GetPrograms ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetRationCommodity ( int id ) : List
GetRations ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetRegion ( int zoneID ) : int
GetRegions ( ) : List
GetRequisitionGeneratedPlan ( int programID, int zoneID ) : List
GetSeasons ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetShippingInstruction ( string siNumber ) : int
GetStatus ( Models workflow ) : List
GetStatusName ( Models workflow, int statusId ) : string
GetWoreda ( int zoneId ) : List
GetWoredaBeneficiaryNo ( int planId, int woredaId, int roundOrMonth, int program ) : int
GetZoneID ( int woredaID ) : int
GetZones ( int regionId ) : List

Method Details

CommonService() public method

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

Dispose() public method

public Dispose ( ) : void
return void

FindBy() public method

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

GetAllGiftCertificates() public method

public GetAllGiftCertificates ( ) : List
return List

GetAllHubs() public method

public GetAllHubs ( ) : List
return List

GetAllSupportType() public method

public GetAllSupportType ( ) : List
return List

GetAminUnits() public method

public GetAminUnits ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.System
orderBy Func
includeProperties string
return IEnumerable

GetCommditySourceName() public method

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

GetCommodities() public method

public GetCommodities ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.System
orderBy Func
includeProperties string
return IEnumerable

GetCommoditySource() public method

public GetCommoditySource ( ) : List
return List

GetCommodityTypes() public method

public GetCommodityTypes ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.System
orderBy Func
includeProperties string
return IEnumerable

GetDetails() public method

public GetDetails ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.System
orderBy Func
includeProperties string
return IEnumerable

GetDonors() public method

public GetDonors ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.System
orderBy Func
includeProperties string
return IEnumerable

GetFDPs() public method

public GetFDPs ( int woredaID ) : List
woredaID int
return List

GetPlan() public method

public GetPlan ( string programName ) : List
programName string
return List

GetPlan() public method

public GetPlan ( int programID ) : List
programID int
return List

GetPlans() public method

public GetPlans ( ) : List
return List

GetPrograms() public method

public GetPrograms ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.System
orderBy Func
includeProperties string
return IEnumerable

GetRationCommodity() public method

public GetRationCommodity ( int id ) : List
id int
return List

GetRations() public method

public GetRations ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.System
orderBy Func
includeProperties string
return IEnumerable

GetRegion() public method

public GetRegion ( int zoneID ) : int
zoneID int
return int

GetRegions() public method

public GetRegions ( ) : List
return List

GetRequisitionGeneratedPlan() public method

public GetRequisitionGeneratedPlan ( int programID, int zoneID ) : List
programID int
zoneID int
return List

GetSeasons() public method

public GetSeasons ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
filter bool>.System
orderBy Func
includeProperties string
return IEnumerable

GetShippingInstruction() public method

public GetShippingInstruction ( string siNumber ) : int
siNumber string
return int

GetStatus() public method

public GetStatus ( Models workflow ) : List
workflow Models
return List

GetStatusName() public method

public GetStatusName ( Models workflow, int statusId ) : string
workflow Models
statusId int
return string

GetWoreda() public method

public GetWoreda ( int zoneId ) : List
zoneId int
return List

GetWoredaBeneficiaryNo() public method

public GetWoredaBeneficiaryNo ( int planId, int woredaId, int roundOrMonth, int program ) : int
planId int
woredaId int
roundOrMonth int
program int
return int

GetZoneID() public method

public GetZoneID ( int woredaID ) : int
woredaID int
return int

GetZones() public method

public GetZones ( int regionId ) : List
regionId int
return List