/// <summary> /// Initializes a new instance of the <see cref="StaffViewModel"/> class. /// </summary> public StaffViewModel() { this.childViewModel = this; this.staffMembers = new MyObservableCollection <StaffModel>(); try { var bc = new BusinessContext(); foreach (StaffModel staff in bc.GetAllStaffMembers()) { this.StaffMembers.Add(staff); } } catch (Exception) { } finally { Console.WriteLine("test"); } }