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

public List ( ) : IEnumerable
Результат IEnumerable
Пример #1
0
 public static void SendBillNotifications()
 {
     using (INotificationRepository rep = new NotificationRepository())
     {
         var notifications = rep.List();
         foreach (var n in notifications)
         {
             GetBillAndSendNotification(n);
         }
     }
 }