public ResponseInvoiceCX InvoiceCX([FromBody] RequestInvoiceCX request) { try { InvoiceBLL bll = new InvoiceBLL(); return(bll.InvoiceCX(request)); } catch (Exception ex) { throw new HttpResponseException( Request.CreateErrorResponse(HttpStatusCode.InternalServerError, ex.Message)); } }