C# Class Cats.Services.EarlyWarning.HRDService

Inheritance: IHRDService
Mostrar archivo Open project: edgecomputing/cats

Public Methods

Method Description
AddHRD ( HRD hrd ) : bool
AddHRD ( int year, int userID, int seasonID, int rationID, int planID ) : bool
AddHRDFromAssessment ( HRD hrd ) : bool
DeleteById ( int id ) : bool
DeleteHRD ( HRD hrd ) : bool
Dispose ( ) : void
EditHRD ( HRD hrd ) : bool
FindBy ( bool>.System predicate ) : List
FindById ( int id ) : HRD
Get ( bool>.System filter = null, Func orderBy = null, string includeProperties = "" ) : IEnumerable
GetAllHRD ( ) : List
GetHRDDetailByHRDID ( int hrdID ) : IEnumerable
GetHrds ( ) : IEnumerable
GetPlan ( int id ) : Plan
GetPlans ( ) : List
GetWoredaBeneficiaryNumber ( int hrdID, int woredaID ) : int
HRDService ( IUnitOfWork unitOfWork ) : System
PublishHrd ( int hrdId ) : void

Method Details

AddHRD() public method

public AddHRD ( HRD hrd ) : bool
hrd Cats.Models.HRD
return bool

AddHRD() public method

public AddHRD ( int year, int userID, int seasonID, int rationID, int planID ) : bool
year int
userID int
seasonID int
rationID int
planID int
return bool

AddHRDFromAssessment() public method

public AddHRDFromAssessment ( HRD hrd ) : bool
hrd Cats.Models.HRD
return bool

DeleteById() public method

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

DeleteHRD() public method

public DeleteHRD ( HRD hrd ) : bool
hrd Cats.Models.HRD
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditHRD() public method

public EditHRD ( HRD hrd ) : bool
hrd Cats.Models.HRD
return bool

FindBy() public method

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

FindById() public method

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

Get() public method

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

GetAllHRD() public method

public GetAllHRD ( ) : List
return List

GetHRDDetailByHRDID() public method

public GetHRDDetailByHRDID ( int hrdID ) : IEnumerable
hrdID int
return IEnumerable

GetHrds() public method

public GetHrds ( ) : IEnumerable
return IEnumerable

GetPlan() public method

public GetPlan ( int id ) : Plan
id int
return Cats.Models.Plan

GetPlans() public method

public GetPlans ( ) : List
return List

GetWoredaBeneficiaryNumber() public method

public GetWoredaBeneficiaryNumber ( int hrdID, int woredaID ) : int
hrdID int
woredaID int
return int

HRDService() public method

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

PublishHrd() public method

public PublishHrd ( int hrdId ) : void
hrdId int
return void