Exemple #1
0
        public IActionResult AddItem(int bookId, int count = 1)
        {
            orderService.AddBook(bookId, count);

            return(RedirectToAction("Index", "Book", new { id = bookId }));
        }