public TypesView() { InitializeComponent(); var vm = new TypesViewModel(); DataContext = vm; }
public MainViewModel() { TypesViewModel = new TypesViewModel(); }