Exemplo n.º 1
0
        public bool RelacionConSucursal(Guid UidVehiculo, Guid UidSucursal)
        {
            bool resultado = false;

            try
            {
                oVehiculo           = new Vehiculo();
                oVehiculo.UID       = UidVehiculo;
                oVehiculo.oSucursal = new Sucursal()
                {
                    ID = UidSucursal
                };
                resultado = oVehiculo.AgragaVehiculoSucursal();
            }
            catch (Exception)
            {
                throw;
            }
            return(resultado);
        }