Exemple #1
0
        public void Put(Guid id, [FromBody] ProductProvider value)
        {
            ProductProvider productProvider = _repository.Find(id);

            if (productProvider != null)
            {
                productProvider.Copy(value);
                _repository.Update(productProvider);
                _repository.SaveAll();
            }
        }