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