C# Class Cats.Services.EarlyWarning.HrdDonorCoverageService

Inheritance: IHrdDonorCoverageService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddHrdDonorCoverage ( Models hrdDonorCoverage ) : bool
DeleteById ( int id ) : bool
DeleteHrdDonorCoverage ( Models hrdDonorCoverage ) : bool
Dispose ( ) : void
EditHrdDonorCoverage ( Models hrdDonorCoverage ) : bool
FindBy ( bool>.System predicate ) : List
FindById ( int id ) : Models.HrdDonorCoverage
Get ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllHrdDonorCoverage ( ) : List
GetWoredaBeneficiaryNumber ( int hrdID, int woredaID ) : HRDDetail
HrdDonorCoverageService ( IUnitOfWork unitOfWork ) : System
NumberOfCoveredWoredas ( int donorCoverageID ) : int
TransposeData ( IEnumerable donorCoverageDetails, IEnumerable rationDetails, int hrdID, string preferedWeight ) : DataTable

Method Details

AddHrdDonorCoverage() public method

public AddHrdDonorCoverage ( Models hrdDonorCoverage ) : bool
hrdDonorCoverage Models
return bool

DeleteById() public method

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

DeleteHrdDonorCoverage() public method

public DeleteHrdDonorCoverage ( Models hrdDonorCoverage ) : bool
hrdDonorCoverage Models
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditHrdDonorCoverage() public method

public EditHrdDonorCoverage ( Models hrdDonorCoverage ) : bool
hrdDonorCoverage 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.HrdDonorCoverage
id int
return Models.HrdDonorCoverage

Get() public method

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

GetAllHrdDonorCoverage() public method

public GetAllHrdDonorCoverage ( ) : List
return List

GetWoredaBeneficiaryNumber() public method

public GetWoredaBeneficiaryNumber ( int hrdID, int woredaID ) : HRDDetail
hrdID int
woredaID int
return Cats.Models.HRDDetail

HrdDonorCoverageService() public method

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

NumberOfCoveredWoredas() public method

public NumberOfCoveredWoredas ( int donorCoverageID ) : int
donorCoverageID int
return int

TransposeData() public method

public TransposeData ( IEnumerable donorCoverageDetails, IEnumerable rationDetails, int hrdID, string preferedWeight ) : DataTable
donorCoverageDetails IEnumerable
rationDetails IEnumerable
hrdID int
preferedWeight string
return System.Data.DataTable