public bool createDisbursement(string EmpID) { BusinessLogic.DisbursementController BL = new BusinessLogic.DisbursementController(); if (BL.createDisbursement(EmpID)) { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.OK; return true; } else { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.NotAcceptable; return false; } }
public bool createDisbursement(string EmpID) { BusinessLogic.DisbursementController BL = new BusinessLogic.DisbursementController(); if (BL.createDisbursement(EmpID)) { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.OK; return(true); } else { OutgoingWebResponseContext response = WebOperationContext.Current.OutgoingResponse; response.StatusCode = HttpStatusCode.NotAcceptable; return(false); } }
public List<DisbursementDetail> getDisbursementDetail(string DisID) { BusinessLogic.DisbursementController BL = new BusinessLogic.DisbursementController(); return BL.getDisbursementDetail(DisID); }
public List<Disbursement> getDisbursement(string DeptID, string CPID, string DisID, string startdate, string enddate) { BusinessLogic.DisbursementController BL = new BusinessLogic.DisbursementController(); return BL.getDisbursement(DeptID, CPID, DisID, startdate, enddate); }
public List <DisbursementDetail> getDisbursementDetail(string DisID) { BusinessLogic.DisbursementController BL = new BusinessLogic.DisbursementController(); return(BL.getDisbursementDetail(DisID)); }
public List <Disbursement> getDisbursement(string DeptID, string CPID, string DisID, string startdate, string enddate) { BusinessLogic.DisbursementController BL = new BusinessLogic.DisbursementController(); return(BL.getDisbursement(DeptID, CPID, DisID, startdate, enddate)); }