private void refreshTable() { var planRideDetails = DatabaseSingleton.GetInstance().Rides.Where(x => x.RideStatus_.Contains("Waiting") || x.RideStatus_.Contains("In Progress")).ToList(); EventTable.ItemsSource = planRideDetails; var rideDetails = DatabaseSingleton.GetInstance().Rides.Where(x => x.RideStatus_.Equals("Actived")).ToList(); EventTable.ItemsSource = rideDetails; }
private void refreshTable() { var data = (from x in DatabaseSingleton.GetInstance().Advertisements.Where(x => x.AdvertisementStatus != "Deleted") select new { AdvertisementID = x.AdvertisementID, AdvertisementDescription = x.AdvertisementDescription, AdvertisementDeadline = x.Deadline, EmployeeID = x.EmployeeID }).ToList(); adsTable.ItemsSource = data; }
private void refreshTableAttraction() { var requestAttractionDetails = DatabaseSingleton.GetInstance().RequestAttractions.Where(x => x.AttractionStatus.Contains("Pending")).ToList(); EventTable.ItemsSource = requestAttractionDetails; }
private void refreshTableRide() { var requestRideDetails = DatabaseSingleton.GetInstance().RequestRides.Where(x => x.RideStatus_.Contains("Pending")).ToList(); EventTable.ItemsSource = requestRideDetails; }
private void RefreshTable() { IngredientTable.ItemsSource = DatabaseSingleton.GetInstance().Ingredients.Where(x => x.IngredientStatus != "Deleted").ToList(); }
private void LoadTableData() { var attractionDetails = DatabaseSingleton.GetInstance().Attractions.ToList(); attractionTable.ItemsSource = attractionDetails; }
private void refreshTableResponse() { var data = DatabaseSingleton.GetInstance().FundRequests.ToList(); EventTable.ItemsSource = data; }
private void refreshTablePurchasing() { var data = DatabaseSingleton.GetInstance().PurchaseRequests.ToList(); EventTable.ItemsSource = data; }
private void ViewRidePlan_Checked(object sender, RoutedEventArgs e) { var planRideDetails = DatabaseSingleton.GetInstance().Rides.Where(x => x.RideStatus_.Contains("Waiting") || x.RideStatus_.Contains("In Progress")).ToList(); EventTable.ItemsSource = planRideDetails; }
private void ViewAllRide_Checked(object sender, RoutedEventArgs e) { var rideDetails = DatabaseSingleton.GetInstance().Rides.Where(x => x.RideStatus_.Equals("Actived")).ToList(); EventTable.ItemsSource = rideDetails; }
private void AttractionRadioButton_Checked(object sender, RoutedEventArgs e) { var requestAttractionDetails = DatabaseSingleton.GetInstance().RequestAttractions.ToList(); EventTable.ItemsSource = requestAttractionDetails; }
private void LoadTableData() { var rideDetails = DatabaseSingleton.GetInstance().Rides.ToList(); rideTable.ItemsSource = rideDetails; }
private void refreshTable() { var data = DatabaseSingleton.GetInstance().TicketTransactions.Where(x => x.TransactionStauts != "Deleted").ToList(); TicketTransactionTable.ItemsSource = data; }
private void RefreshTable() { EventTable.ItemsSource = DatabaseSingleton.GetInstance().FundRequests.Where(x => x.FundStatus.Contains("Pending")).ToList(); }