public ActionResult Post([FromBody] Kitchen value) { try { return(Ok(_repo.Create(value))); } catch (Exception e) { return(BadRequest(e)); } }
public ActionResult Post([FromBody] Kitchen value) { try { return(Ok(_repo.Create(value))); } catch (Exception e) { return(BadRequest(e)); } }