public void Put(Guid id, [FromBody] ProductQuotation value) { ProductQuotation productQuotation = _repository.Find(id); if (productQuotation != null) { productQuotation.Copy(value); _repository.Update(productQuotation); _repository.SaveAll(); } }
public void Put(Guid id, [FromBody] ProductQuotation value) { ProductQuotation productQuotation = _repository.Find(id); if (productQuotation != null) { productQuotation.Copy(value); _repository.Update(productQuotation); _repository.SaveAll(); } }