public CoinBuyRepositoryTests()
        {
            _repo = new CoinBuyRepository();

            // first clear out the table
            var deleted = _repo.DeleteAll().Result;

            // then add some data for testing
            datas.Add(
                new CoinBuy
            {
                Id         = 0,
                CoinId     = 1,
                CurrencyId = 1,
                Exchange   = Business.Entities.Exchange.Binance,
                Price      = 5418.00M,
                Quantity   = 0.4M,
                ClosedDate = DateTime.UtcNow
            });
            datas.Add(
                new CoinBuy
            {
                Id         = 0,
                CoinId     = 2,
                CurrencyId = 2,
                Exchange   = Business.Entities.Exchange.Binance,
                Price      = 0.0240M,
                Quantity   = 14.2M,
                ClosedDate = DateTime.UtcNow
            });

            var addedEntites = _repo.AddAll(datas).Result;
        }
        public void AddAll_Test()
        {
            var entities = datas;

            var addedEntites = _repo.AddAll(entities).Result;
            var entityList   = addedEntites.ToList();

            Assert.NotNull(addedEntites);
            Assert.True(entityList[0].Id > 0);
            Assert.True(entityList[1].Id > 0);
        }