//listing the roommates by first and last name; private void List() { List <Roommate> roommates = _roommateRepository.GetRoommatesWithRoom(); foreach (Roommate roommate in roommates) { Console.WriteLine($"{roommate.Firstname} {roommate.Lastname} \n Assigned Room: {roommate.Room.Name}"); } }