private void CommitButton_Click(object sender, RoutedEventArgs e) { StaffFunctions.SelectTeamStaff(selectedRecord); }