private void addWorkshopToList(WorkshopData workshopData, List<Workshop> workshops)
        {
            foreach (Workshop workshop in workshopData.Results)
            {

                if (workshop.archived == null)
                    workshops.Add(workshop);
            }
        }
private async Task FetchAvailableWorkshops()
{
            ShowProgressDialog(progressDialog, "Fetching available workshops. Please wait...", true);

 	WorkshopController workshopController = new WorkshopController();
            workshopData = await workshopController.searchWorkshops(DateTime.Now.ToString("yyyy-MM-dd HH:mm"));

            ShowProgressDialog(progressDialog, "Fetching available workshops. Please wait...", false);
        }
 public SearchWorkshopsFragment(WorkshopData workshopData)
 {
     this.workshopData = workshopData;
 }