aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/FSE/Modules/Tango.FSE.Upgrade/ViewModels/WelcomeViewVM.cs
blob: a49c9972a7e629edd55d3d34dce402ef585e8cb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core.Commands;
using Tango.FSE.Common;
using Tango.FSE.Upgrade.Views;

namespace Tango.FSE.Upgrade.ViewModels
{
    public class WelcomeViewVM : FSEViewModel
    {
        public RelayCommand NavigateToApplicationUpgradeCommand { get; set; }

        public WelcomeViewVM()
        {
            NavigateToApplicationUpgradeCommand = new RelayCommand(NavigateToApplicationUpgrade);
        }

        private void NavigateToApplicationUpgrade()
        {
            NavigationManager.NavigateTo<UpgradeModule>(nameof(ApplicationUpgradeView));
        }
    }
}