示例#1
0
 public ActionResult Edit(int id, Book book)
 {
     try
     {
         // TODO: Add update logic here
         bookClient.EditBook(book);
         return(RedirectToAction("Index"));
     }
     catch
     {
         return(View());
     }
 }