private void ModificarTransaccion() { if (_IsADebt) { BDComun.UpdateCustomerDebt(_transactionId, _userId, _customerId, TransactionDescription, TransactionDate.Value); } else { BDComun.UpdateCustomerPayment(_transactionId, _userId, _customerId, TransactionDescription, TransactionDate.Value); } BDComun.UpdateCustmerState(CustomerSelected); ConsultTransactions(); }