AjaxExamples.Controllers.AjaxHelpersController.AddComment C# (CSharp) Метод

AddComment() приватный Метод

private AddComment ( string comment ) : System.Web.Mvc.ActionResult
comment string
Результат System.Web.Mvc.ActionResult
        public ActionResult AddComment(string comment)
        {
            _comments.Add("<li>" + comment + "</li>");
            return Content(string.Join("\n", _comments.ToArray()));
        }