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