public async Task SerializeProducts() { var products = await ProductOperations.GetProductsByCategory(3, false); var json = ProductOperations.Serialize(products); Assert.IsNotNull(json); File.WriteAllText("SerializedProducts.json", json); }
public async Task SerializeProducts() { var products = await ProductOperations.GetProductsByCategory(3, false); var json = ProductOperations.Serialize(products); Assert.IsNotNull(json); File.WriteAllText("SerializedProducts.json", json); }