示例#1
0
 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));
     }
 }