Пример #1
0
        public void EditCoin(int CoinId, int newCount, bool DoBlock) //Изменение блокировки и кол-ва монет
        {
            Coin coin = Repos.GetCoin(CoinId);

            if (coin != null)
            {
                coin.Count = newCount;
                coin.Block = DoBlock;
                Repos.EditCoin(coin);
            }
        }