public ActionResult <CustomerApiModel> Post([FromBody] CustomerApiModel input) { try { if (input == null) { return(BadRequest()); } return(StatusCode(201, _chinookSupervisor.AddCustomer(input))); } catch (Exception ex) { return(StatusCode(500, ex)); } }