public bool UpdateProduct(Product product) { var dimProduct = new DimProduct() { ProductKey = product.ProductKey, EnglishProductName = product.Name, SafetyStockLevel = product.StockLevel }; var result = oAService.UpdateProduct(dimProduct); return(result > 0); // TODO: Update Product (Name and StockLevel properties only) and map To DimProduct (OAServer class) (see mapping above) }
public int UpdateProduct(DimProduct product) { return(_oAService.UpdateProduct(product)); }