C# Class Cats.Services.EarlyWarning.HRDService

Inheritance: IHRDService
Afficher le fichier Open project: edgecomputing/cats

Méthodes publiques

Méthode 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 méthode

public AddHRD ( HRD hrd ) : bool
hrd Cats.Models.HRD
Résultat bool

AddHRD() public méthode

public AddHRD ( int year, int userID, int seasonID, int rationID, int planID ) : bool
year int
userID int
seasonID int
rationID int
planID int
Résultat bool

AddHRDFromAssessment() public méthode

public AddHRDFromAssessment ( HRD hrd ) : bool
hrd Cats.Models.HRD
Résultat bool

DeleteById() public méthode

public DeleteById ( int id ) : bool
id int
Résultat bool

DeleteHRD() public méthode

public DeleteHRD ( HRD hrd ) : bool
hrd Cats.Models.HRD
Résultat bool

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EditHRD() public méthode

public EditHRD ( HRD hrd ) : bool
hrd Cats.Models.HRD
Résultat bool

FindBy() public méthode

public FindBy ( bool>.System predicate ) : List
predicate bool>.System
Résultat List

FindById() public méthode

public FindById ( int id ) : HRD
id int
Résultat Cats.Models.HRD

Get() public méthode

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

GetAllHRD() public méthode

public GetAllHRD ( ) : List
Résultat List

GetHRDDetailByHRDID() public méthode

public GetHRDDetailByHRDID ( int hrdID ) : IEnumerable
hrdID int
Résultat IEnumerable

GetHrds() public méthode

public GetHrds ( ) : IEnumerable
Résultat IEnumerable

GetPlan() public méthode

public GetPlan ( int id ) : Plan
id int
Résultat Cats.Models.Plan

GetPlans() public méthode

public GetPlans ( ) : List
Résultat List

GetWoredaBeneficiaryNumber() public méthode

public GetWoredaBeneficiaryNumber ( int hrdID, int woredaID ) : int
hrdID int
woredaID int
Résultat int

HRDService() public méthode

public HRDService ( IUnitOfWork unitOfWork ) : System
unitOfWork IUnitOfWork
Résultat System

PublishHrd() public méthode

public PublishHrd ( int hrdId ) : void
hrdId int
Résultat void