Пример #1
0
 public void Update(NewsEntry account)
 {
     NewsEntry newsEntry = News[account.Id];
     newsEntry.Title = account.Title;
 }
Пример #2
0
 public void Add(NewsEntry newsEntry)
 {
     News.Add(newsEntry.Id, newsEntry);
 }