public UserManagementView() { InitializeComponent(); DataContext = new ViewModels.UserManagementViewModel(); }
public UserManagementView(ViewModels.UserManagementViewModel userManagementViewModel) { InitializeComponent(); DataContext = userManagementViewModel; userManagementViewModel.CurrentUserManagmentView = this; }