public Invoice GetInvoice(Guid id) { InvoiceDL invoiceDL = new InvoiceDL(); return(invoiceDL.GetInvoice(id)); }
public HttpResponseMessage Get(string InvoiceNo) { InvoiceHeaderBO invoice = dl.GetInvoice(InvoiceNo); return(Request.CreateResponse(HttpStatusCode.OK, invoice, Configuration.Formatters.JsonFormatter)); }