protected void btnSearchPayment_OnClick(object sender, EventArgs e) { Session["GvPaymentMissingSource"] = null; PaymentNotCompleteRequest request = new PaymentNotCompleteRequest(); if (!String.IsNullOrWhiteSpace(txtFindRefNo.Text)) { request.Ref1 = txtFindRefNo.Text.Trim(); } if (!String.IsNullOrWhiteSpace(txtPaymentDateStart.Text)) { request.StartDate = ParseDateFromString(txtPaymentDateStart.Text.Trim()); } if (!String.IsNullOrWhiteSpace(txtPaymentDateEnd.Text)) { request.EndDate = ParseDateFromString(txtPaymentDateEnd.Text.Trim()); } BLL.PaymentBiz paymentBiz = new BLL.PaymentBiz(); DTO.ResponseService <DTO.PaymentNotCompleteResponse> res = paymentBiz.PaymentNotComplete(request); if (res.IsError) { ((Site1)Master).ModelError.ShowMessageError = res.ErrorMsg; ((Site1)Master).ModelError.ShowModalError(); pnlData.Visible = false; } else { Session["GvPaymentMissingSource"] = res.DataResponse.BankTransaction; gvPaymentMissing.DataSource = GvPaymentMissingSource; gvPaymentMissing.DataBind(); pnlData.Visible = true; btnCancle.Visible = true; btnCancle.Enabled = true; //((Site1)Master).ModelSuccess.ShowModalSuccess(); } }
public DTO.ResponseService <PaymentNotCompleteResponse> PaymentNotComplete(PaymentNotCompleteRequest request) { return(svc.PaymentNotComplete(request)); }