using CommunityToolkit.Mvvm.DependencyInjection; using MvvmAppCore.ViewModels; using System.Windows.Controls; namespace MvvmAppUi.Views { /// /// Interaction logic for MotorProfileView.xaml /// public partial class MotorProfileView : UserControl { public MotorProfileView() { InitializeComponent(); DataContext = Ioc.Default.GetRequiredService(); } } }