예제 #1
0
        public Invoice GetInvoice(Guid id)
        {
            InvoiceDL invoiceDL = new InvoiceDL();

            return(invoiceDL.GetInvoice(id));
        }
예제 #2
0
        public HttpResponseMessage Get(string InvoiceNo)
        {
            InvoiceHeaderBO invoice = dl.GetInvoice(InvoiceNo);

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