public void SaveCurrencyRecords(List <Currency> currencies)
        {
            var bittrexCurrencyDbContext = new BittrexCurrencyDbContext();

            bittrexCurrencyDbContext.CurrencyDatas.AddRange(currencies.ToArray());
            try
            {
                Console.WriteLine("Идет сохранение...");
                bittrexCurrencyDbContext.SaveChanges();
                Console.WriteLine("Сохранение завершено!");
            }
            catch (Exception ex)
            {
                Console.WriteLine("!!", ex);
            }


            bittrexCurrencyDbContext.Dispose();
        }
 public CurrencyProvider()
 {
     var bittrexCurrencyDbContext = new BittrexCurrencyDbContext();
 }