public IHttpActionResult Put(Auctioned_object todo) { if (Auctioned_ObjectDAO.Update(todo)) { return(Ok()); } return(BadRequest()); }