public ActionResult Update(int rowKey, string partitionKey) { //if(rowKey == null && partitionKey == null) //{ // return RedirectToAction("ViewBooks"); //} ViewBag.Msg = TempData["Msg"]; var model = bookData.FindBook(rowKey, partitionKey); return(View("Update", model)); }
public ActionResult Update(int rowKey, string partitionKey) { var model = bookData.FindBook(rowKey, partitionKey); return(View("Update", model)); }