public override async Task PreRender() { Levels = await SessionService.GetSessionLevelAsync(); Types = await SessionService.GetSessionTypeAsync(); Speakers = await SpeakerService.GetAllSpeakerAsync(); await base.PreRender(); }
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(); }
public override async Task PreRender() { Speakers = await SpeakerService.GetAllSpeakerAsync(); await base.PreRender(); }