Files
2026-08-22 19:11:00 +03:00

25 lines
583 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using WinWARP.Core.Services;
namespace WinWARP.Core.ViewModels;
public partial class HomeViewModel : ObservableObject
{
private readonly INavigationService _navigationService;
public HomeViewModel(INavigationService navigationService)
{
_navigationService = navigationService;
}
[RelayCommand]
private void TestTransition()
{
_navigationService.NavigateTo<SettingsViewModel>();
}
}