//Return tax by product name from SQLite context
        public static decimal GetTaxByProduct(string productName)
        {
            using (var context = new SQLitetEntities())
            {
                var tax = context.TaxInformations.FirstOrDefault(t => t.ProductName == productName);

                return(tax != null ? (tax.Tax / 100M) : 0);
            }
        }
        //Return tax by product name from SQLite context
        public static decimal GetTaxByProduct(string productName)
        {
            using (var context = new SQLitetEntities())
            {
                var tax = context.TaxInformations.FirstOrDefault(t => t.ProductName == productName);

                return tax != null ? (tax.Tax/100M) : 0;
            }
        }