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