public GroupType() { InitializeComponent(); GroupTypeViewModel gtvm = new GroupTypeViewModel(); this.DataContext = gtvm; }
public ViewGroupType() { InitializeComponent(); GroupTypeViewModel _GTVM = new GroupTypeViewModel(); _GTVM.GetGroupTypeList(); this.DataContext = _GTVM; }