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