public async Task TestCardList()
        {
            var cardService = new CardService(new SqliteConnectionService());
            await cardService.DeleteAsyncAllCard();

            List <Card> cardList = new List <Card>();

            for (int i = 0; i < 5; i++)
            {
                cardList.Add(new Card()
                {
                    PackageId = 1
                });
            }
            for (int i = 0; i < 3; i++)
            {
                cardList.Add(new Card()
                {
                    PackageId = 2
                });
            }

            await cardService.InsertAsyncCards(cardList);

            cardList = (await cardService.GetAsyncAllCards()).Result;
            Assert.AreEqual(8, cardList.Count);

            cardList = (await cardService.GetAsyncCards(1)).Result;
            Assert.AreEqual(5, cardList.Count);

            await cardService.DeleteAsyncCards(1);

            cardList = (await cardService.GetAsyncCards(1)).Result;
            Assert.AreEqual(0, cardList.Count);

            await cardService.DeleteAsyncAllCard();
        }