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;
     }
 }
Ejemplo n.º 2
0
 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);
 }
Ejemplo n.º 5
0
 public List <DisbursementDetail> getDisbursementDetail(string DisID)
 {
     BusinessLogic.DisbursementController BL = new BusinessLogic.DisbursementController();
     return(BL.getDisbursementDetail(DisID));
 }
Ejemplo n.º 6
0
 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));
 }