public List <Product_Temp> GetAllProduct()
        {
            List <Product_Temp> lstProductTemp = new List <Product_Temp>();

            foreach (var i in data.Products.ToList())
            {
                Product_Temp product_temp = ClassConvert.ConvertToProduct_Temp(i as Product);
                lstProductTemp.Add(product_temp);
            }
            return(lstProductTemp);
        }
        public static Product_Temp ConvertToProduct_Temp(Product product)
        {
            Product_Temp product_temp = new Product_Temp();

            product_temp.ProductID   = product.ProductID;
            product_temp.ProductName = product.ProductName;
            product_temp.UnitPrice   = product.UnitPrice;
            product_temp.UnitInStock = product.UnitInStock;
            product_temp.ProductType = product.ProductType;
            return(product_temp);
        }