// PUT: api/User/5 public void Put([FromBody] User user) { var validate = userBusiness.SelectSingle(e => e.Id == user.Id); if (validate != null) { userBusiness.Update(validate); } }
// PUT: api/User/5 public void Put([FromBody] Product product) { var validate = productBusiness.SelectSingle(e => e.Id == product.Id); if (validate != null) { productBusiness.Update(validate); } }
// PUT: api/User/5 public void Put([FromBody] Feedback feedback) { var validate = feedbackBusiness.SelectSingle(e => e.Id == feedback.Id); if (validate != null) { feedbackBusiness.Update(validate); } }
// PUT: api/User/5 public void Put([FromBody] Store store) { var validate = storeBusiness.SelectSingle(e => e.Id == store.Id); if (validate != null) { storeBusiness.Update(validate); } }
// PUT: api/User/5 public void Put([FromBody] User sale) { var validate = saleBusiness.SelectSingle(e => e.Id == sale.Id); if (validate != null) { saleBusiness.Update(validate); } }