public ActionResult DeletePost(CommentDisplayVM comment) { try { if (ModelState.IsValid) { _commentLogic.DeleteById(comment.IDComment); return(RedirectToAction("Index", new { idShop = comment.IDShop })); } } catch (Exception ex) { ModelState.AddModelError(String.Empty, ex); } return(RedirectToAction("Delete", new { id = comment.IDComment, idShop = comment.IDShop })); }