private void UpdateNotificationList(XCollection<Notification> notifications, CancellationToken cancellationToken) { if (notifications != null) { _notifications = new XCollection<Notification>( notifications.OrderBy( x => x.NotifiedPerson ) ); _dataCacheService.PutItem( _notifications, CacheItemName, cancellationToken ); Save( cancellationToken ); } }