public int AddProduct(Product model)
 {
     return(_productAccess.AddProduct(model));
 }
示例#2
0
 /// <summary>
 /// Method to create new product
 /// </summary>
 /// <param name="product">club member model</param>
 /// <returns>true or false</returns>
 public bool AddProduct(ProductDataModel product)
 {
     return(productAccess.AddProduct(product));
 }