public HttpResponseMessage Post([FromBody] InvoiceHeaderBO bo) { var invoiceHeader = dl.PostInvoice(bo); return(Request.CreateResponse(HttpStatusCode.OK, invoiceHeader, Configuration.Formatters.JsonFormatter)); }