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