public void AssignSnowball(SnowballEntry snowball) { if (snowball != null) { _snowballEntry = snowball; } }
public void UpdateSnowball(SnowballEntry item) { SnowballEntry oldItem = null; foreach (var entry in _snowballEntries) { if (entry.Id == item.Id) { oldItem = entry; break; } } if (oldItem != null) { _snowballEntries.Remove (oldItem); } _snowballEntries.Add (item); }