示例#1
0
        public void Prinbil(NewShop newshop)
        {
            try
            {
                string billname = $"bill {newshop.Orderid}_{DateTime.Now.ToString("ddMMyyyyhhmmtt")}.json";
                ShopCoffeService <NewShop> .WriteData(@$ "{path},{billname}");

                string fulllink = $"{path}{databasename}";
            }
            catch (Exception)
            {
                return(false);
            }
        }
示例#2
0
        public static void ReadData()
        {
            string fulllink = $@"{path}{databasename}";

            ShopCoffeService <Data> .ReadData(fulllink, ref data);
        }