Exemplo n.º 1
0
        public void AddComment()
        {
            string commentID = base.Request.Form["hidNewCommentID"];
            string s         = base.Request.Form["txtComment"];

            s = base.Server.HtmlEncode(s).Replace("\n", "<br/>");
            bool internalOnly = base.Request.Form["chkInternal"] != null;

            LotService.AddNormalComment(LotService.GenerateComment(base.Request.Form["lotID"], -1, commentID, s, internalOnly, BaseController.CurrentUserInfo));
        }