AzureTicker.Worker.Model.Repositories.NotificationRepository.GetNotificationsToUpdate C# (CSharp) Метод

GetNotificationsToUpdate() публичный Метод

public GetNotificationsToUpdate ( ) : IEnumerable
Результат IEnumerable
        public IEnumerable<Notification> GetNotificationsToUpdate()
        {
            DateTime nw = DateTime.UtcNow;
            return (from n in context.CreateQuery<Notification>(tableName) select n).AsTableServiceQuery<Notification>().Where(n => (n.LastUpdate < nw.AddDays(-1) || n.BalanceString == "New")).AsEnumerable();
        }