public virtual void RemoveCoin(ICoin coin) { CurrentRepo.AddCoin(coin); CoinView coinView = CoinViews.ToList().Find(x => x.Coin == coin); CoinViews.Remove(coinView); }
public virtual void AddCoin(ICoin coin) { CurrentRepo.AddCoin(coin); CoinViews.Add(new CoinView((USCoin)coin)); }