public IHttpActionResult Put(Productattribute productattribute) { _repository.Put(productattribute.Id, productattribute); return(Json("OK")); }
public IHttpActionResult Post(Productattribute productattribute) { _repository.Post(productattribute); return(Json(productattribute)); }