public ActionResult Restore(int ProductID, AddNewTechViewModel model, FormCollection collection) { try { myHandler = new BusinessLogicHandler(); book = new Book(); book.ProductID = ProductID; myHandler.RestoreBook(book); TempData["Alert Message"] = "Device Successfully Restored"; return RedirectToAction("DeletedIndex", "Book"); } catch { return View(); } }