Beispiel #1
0
        public JsonResult NotificationDetails(int id)
        {
            Notificacion.BLL.Notificaciones ctx = new Notificacion.BLL.Notificaciones();
            var not = ctx.GetNotificationDetails(id);

            return(Json(not, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
        public PartialViewResult NotificationDetails(int IdNotificacion)
        {
            Notificaciones ctx          = new Notificaciones();
            var            notificacion = ctx.GetNotificationDetails(IdNotificacion);

            notificacion.Comentarios = ctx.GetNotificationComments(IdNotificacion);
            return(PartialView(notificacion));
        }