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;
     }
 }
Пример #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);
 }
Пример #5
0
 public List <DisbursementDetail> getDisbursementDetail(string DisID)
 {
     BusinessLogic.DisbursementController BL = new BusinessLogic.DisbursementController();
     return(BL.getDisbursementDetail(DisID));
 }
Пример #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));
 }