C# Class Cats.Services.EarlyWarning.NeedAssessmentDetailService

Inheritance: INeedAssessmentDetailService
Show file Open project: edgecomputing/cats

Public Methods

Method Description
AddNeedAssessmentDetail ( NeedAssessmentDetail needAssessmentDetail ) : bool
DeleteById ( int id ) : bool
DeleteNeedAssessmentDetail ( NeedAssessmentDetail needAssessmentDetail ) : bool
Dispose ( ) : void
EditNeedAssessmentDetail ( NeedAssessmentDetail needAssessmentDetail ) : bool
FindBy ( bool>.Expression predicate ) : List
FindById ( int id ) : NeedAssessmentDetail
GetAllNeedAssessmentDetail ( ) : List
GetApproved ( ) : List
GetDraft ( ) : List
GetNeedAssessmentBeneficiaryNo ( int year, int season, int woredaId ) : int
GetNeedAssessmentBeneficiaryNoFromPlan ( int planID, int woredaID ) : int
GetNeedAssessmentMonthsFromPlan ( int planID, int woredaID ) : int
GetNeedAssessmentMonthsGetNeedAssessmentMonths ( int year, int season, int woredaId ) : int
NeedAssessmentDetailService ( IUnitOfWork unitOfWork ) : System

Method Details

AddNeedAssessmentDetail() public method

public AddNeedAssessmentDetail ( NeedAssessmentDetail needAssessmentDetail ) : bool
needAssessmentDetail Cats.Models.NeedAssessmentDetail
return bool

DeleteById() public method

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

DeleteNeedAssessmentDetail() public method

public DeleteNeedAssessmentDetail ( NeedAssessmentDetail needAssessmentDetail ) : bool
needAssessmentDetail Cats.Models.NeedAssessmentDetail
return bool

Dispose() public method

public Dispose ( ) : void
return void

EditNeedAssessmentDetail() public method

public EditNeedAssessmentDetail ( NeedAssessmentDetail needAssessmentDetail ) : bool
needAssessmentDetail Cats.Models.NeedAssessmentDetail
return bool

FindBy() public method

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

FindById() public method

public FindById ( int id ) : NeedAssessmentDetail
id int
return NeedAssessmentDetail

GetAllNeedAssessmentDetail() public method

public GetAllNeedAssessmentDetail ( ) : List
return List

GetApproved() public method

public GetApproved ( ) : List
return List

GetDraft() public method

public GetDraft ( ) : List
return List

GetNeedAssessmentBeneficiaryNo() public method

public GetNeedAssessmentBeneficiaryNo ( int year, int season, int woredaId ) : int
year int
season int
woredaId int
return int

GetNeedAssessmentBeneficiaryNoFromPlan() public method

public GetNeedAssessmentBeneficiaryNoFromPlan ( int planID, int woredaID ) : int
planID int
woredaID int
return int

GetNeedAssessmentMonthsFromPlan() public method

public GetNeedAssessmentMonthsFromPlan ( int planID, int woredaID ) : int
planID int
woredaID int
return int

GetNeedAssessmentMonthsGetNeedAssessmentMonths() public method

public GetNeedAssessmentMonthsGetNeedAssessmentMonths ( int year, int season, int woredaId ) : int
year int
season int
woredaId int
return int

NeedAssessmentDetailService() public method

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