static void ChoreReport(ChoreRepository choreRepo, RoommateRepository roommateRepo) { Dictionary <Chore, Roommate> allAssignments = choreRepo.GetAllAssignments(); Console.Clear(); Console.SetCursorPosition((Console.WindowWidth - 26) / 2, Console.CursorTop); Console.WriteLine("All Chores and Assignments"); Console.SetCursorPosition((Console.WindowWidth - 26) / 2, Console.CursorTop); Console.WriteLine("--------------------------\n"); foreach (KeyValuePair <Chore, Roommate> assignment in allAssignments) { Console.WriteLine($"{assignment.Key.Name}: {assignment.Value.Firstname} {assignment.Value.Lastname}"); } }