コード例 #1
0
        public JsonResult AddComment(RH.Entidades.Notificacion_Comentarios comment)
        {
            Notificaciones bll = new Notificaciones();
            var            id  = bll.AddComment(comment);

            return(Json(id, JsonRequestBehavior.AllowGet));
        }
コード例 #2
0
ファイル: HomeController.cs プロジェクト: IsraelBV/SUN
        public JsonResult AddComment(Notificacion_Comentarios comment)
        {
            Notificacion.BLL.Notificaciones n = new Notificacion.BLL.Notificaciones();
            var result = n.AddComment(comment);

            return(Json(result, JsonRequestBehavior.AllowGet));
        }