示例#1
0
        // NOTE Pute Requests
        internal Book CheckOut(int id, Book updatedBook)
        {
            Book foundBook = GetById(id);

            foundBook.IsAvailable = updatedBook.IsAvailable;
            return(_repo.CheckOut(foundBook));
        }