public ActionResult <Side> Put(int id, [FromBody] Side value) { try { value.Id = id; return(Ok(_repo.Update(value))); } catch (Exception e) { return(BadRequest(e)); } }