예제 #1
0
        public void AgregarCuenta(Cuenta cuenta)
        {
            TransactionResult resultado = mapper.InsertarCuenta(cuenta);

            if (!resultado.IsOk)
            {
                throw new Exception("Error al agregar cliente. Detalle: " + resultado.Error);
            }
        }