public IActionResult Post([FromBody] Show show) { if (ModelState.IsValid) { var addedShow = repo.Create(show); if (addedShow != null) { return(Ok( new { status = "OK", message = "Show has successfully added", data = new { show = addedShow } } )); } } return(NotFound()); }