Пример #1
0
 public ActionResult AddCount(int ID, int Count)
 {
     ViewBag.Book = BookAction.FindBook(ID);
     if (BookAction.AddCount(ID, Count))
     {
         ViewBag.Book = BookAction.FindBook(ID);
         return(RedirectToAction("AddCount", new { ID }));
     }
     return(RedirectToAction("AddCount", new { ID }));
 }