public PartialViewResult NotificationComments(int id) { Notificacion.BLL.Notificaciones n = new Notificacion.BLL.Notificaciones(); var comments = n.GetNotificationComments(id); return(PartialView(comments)); }
public PartialViewResult NotificationDetails(int IdNotificacion) { Notificaciones ctx = new Notificaciones(); var notificacion = ctx.GetNotificationDetails(IdNotificacion); notificacion.Comentarios = ctx.GetNotificationComments(IdNotificacion); return(PartialView(notificacion)); }