public JsonResult NotificationDetails(int id) { Notificacion.BLL.Notificaciones ctx = new Notificacion.BLL.Notificaciones(); var not = ctx.GetNotificationDetails(id); return(Json(not, JsonRequestBehavior.AllowGet)); }
public PartialViewResult NotificationDetails(int IdNotificacion) { Notificaciones ctx = new Notificaciones(); var notificacion = ctx.GetNotificationDetails(IdNotificacion); notificacion.Comentarios = ctx.GetNotificationComments(IdNotificacion); return(PartialView(notificacion)); }