public void AddProdectTest() { var addProductData = new AddProductData(); var result = ProductApi.AddProduct("[appid]", addProductData); Console.Write(result); Assert.IsNotNull(result); }
public void AddProduct(string name, string description, decimal price, int categoryId) { IProductApi api = new ProductApi(); api.AddProduct(name, description, price, categoryId); }