Exemplo n.º 1
0
 public void Add(SearchableDashboardEntry searchableDashboardEntry)
 {
     _items.Add(new SearchableDashboardEntry()
     {
         LoginName   = searchableDashboardEntry.LoginName,
         AlertsCount = searchableDashboardEntry.AlertsCount
     });
 }
Exemplo n.º 2
0
 public void Update(SearchableDashboardEntry searchableDashboardEntry)
 {
     _items.First(f => f.LoginName == searchableDashboardEntry.LoginName).AlertsCount = searchableDashboardEntry.AlertsCount;
 }