public Product GetProduct(int id)
        {
            var dimProduct = oAService.GetProduct(id);

            return(new Product()
            {
                Name = dimProduct.EnglishProductName,
                ProductKey = dimProduct.ProductKey,
                StockLevel = dimProduct.SafetyStockLevel
            });
            // TODO: Get Product from OAService and map (see mapping above) to the Product client Model
        }
Ejemplo n.º 2
0
 public DimProduct GetProduct(int id)
 {
     return(_oAService.GetProduct(id));
 }