Exemplo n.º 1
0
        public JsonResult CommentCount(string contractId)
        {
            int countComment = 0;
            var data         = new Guid(contractId);

            countComment = obkRepo.CommentCount(data);
            return(Json(new { countComment }, JsonRequestBehavior.AllowGet));
        }