protected void BtnUpdatePaymentType_Click(object sender, EventArgs e) { String PaymentTypeID = Request.QueryString["id"]; String PaymentName = BoxPaymentTypeName.Text.ToString(); Response response = UpdatePaymentTypeController.DoUpdatePaymentType(PaymentTypeID, PaymentName); if (response.successStatus == false) { LabelUpdatePaymentType.Text = response.message; } else { Response.Redirect("ViewPaymentType.aspx"); } }