public static string EditComment(int commentId, int itemsPerPage) { int _currentMember = HttpContext.Current.User.Identity.IsAuthenticated ? (int)Membership.GetUser().ProviderUserKey : 0; Businesslogic.Comment c = new uForum.Businesslogic.Comment(commentId); if (c.Editable(_currentMember)) { string body = HttpContext.Current.Request["body"]; c.Body = body; c.Save(); return Xslt.NiceCommentUrl(c.TopicId, c.Id, itemsPerPage); } return ""; }