public static List <EF.PointGeofenceNotification> LoadNotifications(int pointID) { GeoManagement client = new GeoManagement(); List <EF.PointGeofenceNotification> retVal = new List <EF.PointGeofenceNotification>(); retVal = client.GetPointGeofenceNotifications(pointID); return(retVal); }
void rgNotifications_NeedDataSource(object sender, GridNeedDataSourceEventArgs e) { GeoManagement client = new GeoManagement(); this.rgNotifications.DataSource = client.GetPointGeofenceNotifications(this.PointID); }