private static DataTable GetProducts()
 {
     var dataTable = (DataTable)HttpContext.Current.Session["ProductsTable"];
     if (dataTable == null)
         HttpContext.Current.Session["ProductsTable"] = dataTable = new DbGateway().FetchData("SELECT * FROM Products");
     return dataTable;
 }
        private static DataTable GetProducts()
        {
            var dataTable = (DataTable)HttpContext.Current.Session["ProductsTable"];

            if (dataTable == null)
            {
                HttpContext.Current.Session["ProductsTable"] = dataTable = new DbGateway().FetchData("SELECT * FROM Products");
            }
            return(dataTable);
        }