public void OrderByDesceding()
 {
     if (NotificationList != null && NotificationList.Count() > 0)
     {
         NotificationList = NotificationList.OrderByDescending(x => x.NotificationId).ToList();
     }
 }
Esempio n. 2
0
 public int GetUnacknowledgedNotificationCount()
 {
     return(NotificationList.Count(notification => !notification.Acknowledged));
 }