public MainWindowViewModel(MainWindow main) { this.main = main; //invoking method to fill a list of employees EmployeeList = employees.GetAllEmployees(); //invoking method for reading locations from file locations.AddLocations(); }