Exemple #1
0
        public ServerResponse GetInvoiceNo()
        {
            var res = new ServerResponse();

            using (InvoiceBL InvoiceBL = new InvoiceBL())
            {
                try
                {
                    res.Data = InvoiceBL.GetInvoiceNo();
                }
                catch (Exception ex)
                {
                    res.Success = false;
                }
            }
            return(res);
        }