demo_trade/ViewModels/MainWindowViewModel.cs
2024-10-04 15:41:04 +03:00

20 lines
484 B
C#

using demo_trade.Data.Repository;
using ReactiveUI;
using System.Reactive;
namespace demo_trade.ViewModels
{
public partial class MainWindowViewModel : ReactiveObject, IScreen
{
public RoutingState Router { get; } = new RoutingState();
public MainWindowViewModel() {
SQLLoginRepository loginRepository = new SQLLoginRepository();
Router.Navigate.Execute(new LoginViewModel(this, loginRepository));
}
}
}