예제 #1
0
        public ServerResponse GetDataByShop(string shopID)
        {
            var res = new ServerResponse();

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