コード例 #1
0
        public override async Task PreRender()
        {
            Levels = await SessionService.GetSessionLevelAsync();

            Types = await SessionService.GetSessionTypeAsync();

            Speakers = await SpeakerService.GetAllSpeakerAsync();

            await base.PreRender();
        }
コード例 #2
0
        public override async Task PreRender()
        {
            int id = Convert.ToInt32(Context.Parameters["IdSession"]);

            Session = await SessionService.GetSessionByIdAsync(id);

            Levels = await SessionService.GetSessionLevelAsync();

            Types = await SessionService.GetSessionTypeAsync();

            Speakers = await SpeakerService.GetAllSpeakerAsync();

            SpeakersSelected = Session.SpeakersSessions;

            await base.PreRender();
        }
コード例 #3
0
        public override async Task PreRender()
        {
            Speakers = await SpeakerService.GetAllSpeakerAsync();

            await base.PreRender();
        }