Ejemplo n.º 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);
            }
        }
Ejemplo n.º 2
0
        public static void ReadData()
        {
            string fulllink = $@"{path}{databasename}";

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