Пример #1
0
        private void BorrowBook()
        {
            Console.Out.WriteLine("Enter book name");
            PrintInputCharacter();
            string bookname = Console.In.ReadLine();

            if (controller.BorrowBook(bookname, username))
            {
                Console.Out.WriteLine("Borrow success");
            }
            else
            {
                Console.Out.WriteLine("Borrow failed, please check book amount");
            };
        }