Server.Controllers.CommentController.update C# (CSharp) Méthode

update() private méthode

private update ( int CommentID, string CommentText ) : System.Web.Mvc.JsonResult
CommentID int
CommentText string
Résultat System.Web.Mvc.JsonResult
        public JsonResult update(int CommentID, string CommentText)
        {
            string status = string.Empty;
            status = comment.updateComment(CommentID,CommentText);
            return Json(new { status = status });
        }
        /*