Пример #1
0
        public HttpResponseMessage GetInvoiceNumber(long party_id)
        {
            var invoiceNumber = receiveRepository.GetInvoiceNumber(party_id);
            var formatter     = RequestFormat.JsonFormaterString();

            return(Request.CreateResponse(HttpStatusCode.OK, invoiceNumber, formatter));
        }