예제 #1
0
        private async void MainScreen_Load(object sender, EventArgs e)
        {
            //currentPageConferences = new List<ParticipantsConferencesModel>();
            //participantState = new List<ParticipantStateDemo>();

            conferences = await GetResponseParticipantsConference();

            participantState = _getStates.GetDictionaryParticipantStates(EmailParticipants);
            numberEntry      = Convert.ToInt32(entryPageTextBox.Text);
            populateGridParticipants(conferences, scrollVal, numberEntry);

            //await GetOrganizerConferencesViaAPI();s

            //paginationHelper = new PaginationHelper<OrganizerConferencesModel>(organizerConferences, pageSize);
            //OrganizerTabEntriesTextBox.Text = pageSize.ToString();
            //OrganizerGrid.DataSource = paginationHelper.GetPage();
            //OrganizerGrid.AutoGenerateColumns = true;
            //GenerateOrganizerEditButtons();
            //ManageOrganizerPaginationButtonsState();
        }
예제 #2
0
        public IActionResult GetState(string email)
        {
            List <ParticipantStateDemo> demoModels = _getState.GetDictionaryParticipantStates(email);

            return(Ok(demoModels));
        }