public async Task TestCreateDeleteProductAdmin()
        {
            // Arrange
            Shop.Application.ProductsAdmin.GetProducts   getProducts   = new Application.ProductsAdmin.GetProducts(context);
            Shop.Application.ProductsAdmin.CreateProduct createProduct = new Application.ProductsAdmin.CreateProduct(context);
            Shop.Application.ProductsAdmin.DeleteProduct deleteProduct = new Application.ProductsAdmin.DeleteProduct(context);

            // Act
            IEnumerable <Shop.Application.ProductsAdmin.GetProducts.ProductViewModel> productsBefore = getProducts.Do();

            int NOProductsBefore = productsBefore.Count();

            Shop.Application.ProductsAdmin.CreateProduct.Request request = new Application.ProductsAdmin.CreateProduct.Request();

            request.Name        = "product_test";
            request.Description = "description_test";
            request.Value       = "11.12";

            var responseCreate = await createProduct.Do(request);



            // Assert
            Assert.IsNotNull(responseCreate);
            Assert.AreEqual(responseCreate.Name, "product_test");
            Assert.AreEqual(responseCreate.Description, "description_test");
            Assert.AreEqual(responseCreate.Value, decimal.Parse("11.12"));


            var resultDelete = await deleteProduct.Do(responseCreate.Id);

            Assert.IsTrue(resultDelete);



            IEnumerable <Shop.Application.ProductsAdmin.GetProducts.ProductViewModel> productsAfter = getProducts.Do();
            int NOProductsAfter = productsAfter.Count();


            Assert.AreEqual(NOProductsBefore, NOProductsAfter);
        }
        public void TestGetProductsAdmin()
        {
            // Arrange
            Shop.Application.ProductsAdmin.GetProducts getProducts = new Application.ProductsAdmin.GetProducts(context);

            // Act
            IEnumerable <Shop.Application.ProductsAdmin.GetProducts.ProductViewModel> result = getProducts.Do();

            // Assert
            Assert.IsNotNull(result);
            Assert.AreNotEqual(result.Count(), 0);
        }