示例#1
0
        public HttpResponseMessage Post([FromBody] InvoiceHeaderBO bo)
        {
            var invoiceHeader = dl.PostInvoice(bo);

            return(Request.CreateResponse(HttpStatusCode.OK, invoiceHeader, Configuration.Formatters.JsonFormatter));
        }