public ActionResult AddNewPost(int Id, string title, string bodyContent, string returnUrl) { if (SessionPresister.UserId > 0 && Id > 0) { var dmlResult = _forumRepository.AddNewTopic(Id, SessionPresister.UserId, title, bodyContent); if (dmlResult.Succeed) { return(new RedirectResult(returnUrl)); } } return(RedirectToAction("Index")); }