Пример #1
0
 public static void InsertCoins(
     this IVendingMachineService service,
     CoinType coinType,
     int numberOfCoins
     )
 {
     for (var i = 0; i < numberOfCoins; i++)
     {
         service.InsertCoinAsync(coinType.ToDecimal());
     }
 }