public ActionResult Reply(int?id) { if (id == null) { return(new HttpStatusCodeResult(HttpStatusCode.BadRequest)); } var isReply = repo.Retrived(int.Parse(id.ToString())); if (isReply != null) { return(View(isReply)); } return(View()); }