protected void bnt_Registro_Click(object sender, EventArgs e)
        {
            var idBilletera       = Convert.ToInt32(txt_IdWallet.Text);
            var idTipoTransaccion = Convert.ToByte(txt_IdTransaction.Text);
            var monto             = Convert.ToDecimal(txt_Amount.Text);



            var trans = new TransactionParam()
            {
                IdBilletera       = idBilletera,
                IdTipoTransaccion = idTipoTransaccion,
                Monto             = monto
            };

            var transaction = AppServices.ConsultarApi(
                JsonConvert.SerializeObject(trans),
                recurso.RegistrarTransaccion
                );



            var result = JsonConvert.DeserializeObject <TransactionDto>(transaction.Content);



            BindMyGrid(new RegistroBilletera()
            {
                IdWallet          = trans.IdBilletera,
                IdTypeTransaction = trans.IdTipoTransaccion,
                Amount            = result.Amount,
                Balance           = result.Balance
            });
        }
        public void ResetearBalance()
        {
            var trans = new ConsultTransactionParam()
            {
                IdBilletera = 1
            };

            var transaction = AppServices.ConsultarApi(
                JsonConvert.SerializeObject(trans),
                recurso.ResetBalanceWallet
                );
        }
        protected void btn_Consultar_Click(object sender, EventArgs e)
        {
            var idBilletera = Convert.ToInt32(txt_IdWallet.Text);

            var trans = new ConsultTransactionParam()
            {
                IdBilletera = idBilletera
            };

            var transaction = AppServices.ConsultarApi(
                JsonConvert.SerializeObject(trans),
                recurso.ConsultarTransaccion
                );



            var result = JsonConvert.DeserializeObject <TransactionDto>(transaction.Content);


            if (result != null)
            {
                lbl_balance.Text = result.Balance.ToString();
            }
        }