public ActionResult DeleteReply(string Id) { VwSolutionsModel model = new VwSolutionsModel(); if (Session["DeleteReplyId"] != null) { if (Id != null) { ConnManager conn = new ConnManager(); conn.DeleteReply(Session["DeleteReplyId"].ToString()); model = SetDefaults(); } Session["DeleteReplyId"] = null; } return View("../Que/Ans", model); }