private static void GetBorrowedBooks(IReaderService rsc, IRecordService recsc, Reader r) { Console.Clear(); Console.WriteLine($"Information about currently borrowed books of {r.Fullname}"); rsc.LoadInfo(r); r.Records.ForEach(rec => recsc.LoadInfo(rec)); var list = r.CurrentlyBorrowedBooks; if (list.Count() == 0) { Console.WriteLine("This reader has no borrowed books right now"); } else { Console.WriteLine($"{"Title",-25} | {"Book number",-12}"); foreach (var b in list) { Console.WriteLine($"{b.Title,-25} | {b.Number,-12}"); } } }