public void AllLocations()
        {
            DataSet         locationsDataSet = ClassFunctions.GetLocations();
            List <Location> locationList     = new List <Location>();

            for (int i = 0; i < locationsDataSet.Tables[0].Rows.Count; i++)
            {
                DataRow dataRow = locationsDataSet.Tables[0].Rows[i];

                Location location = new Location
                {
                    Latitude    = Convert.ToDouble(dataRow["Latitude"]),
                    Longitude   = Convert.ToDouble(dataRow["Longitude"]),
                    WatershedID = Convert.ToInt32(dataRow["WatershedID"]),
                    SensorName  = Convert.ToString(dataRow["SensorName"]),
                    LocationID  = Convert.ToInt32(dataRow["LocationID"])
                };

                locationList.Add(location);
            }

            JavaScriptSerializer js = new JavaScriptSerializer();

            Context.Response.Clear();
            Context.Response.ContentType = "application/json";
            Context.Response.Write(js.Serialize(locationList));
        }