private void btnCerrar_Click(object sender, RoutedEventArgs e)
 {
     UserLoginView login = new UserLoginView();
     UserLoginViewModel loginViewModel = new UserLoginViewModel(vm.Sesion);
     login.Show();
     this.GetParetWindows().Close();
 }
        private void ViewLoging()
        {
            UserLoginView login = new UserLoginView();
            //quita el inicio de sesion automatico
            UserLoginViewModel loginViewModel = new UserLoginViewModel(this.GetViewModel().UserLogin.Sesion);

            login.Show();
            this.GetParetWindows().Close();
        }