Пример #1
0
        public virtual void RemoveCoin(ICoin coin)
        {
            CurrentRepo.AddCoin(coin);
            CoinView coinView = CoinViews.ToList().Find(x => x.Coin == coin);

            CoinViews.Remove(coinView);
        }
Пример #2
0
 public virtual void AddCoin(ICoin coin)
 {
     CurrentRepo.AddCoin(coin);
     CoinViews.Add(new CoinView((USCoin)coin));
 }