public ActionResult <IEnumerable <Side> > Post([FromBody] Side value) { try { return(Ok(_repo.Create(value))); } catch (Exception e) { return(BadRequest(e)); } }
internal Side Create(Side newSide) { return(_repo.Create(newSide)); }
internal Side Create(Side newSide) { _repo.Create(newSide); return(newSide); }