Ejemplo n.º 1
0
        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");
            }
        }