public async Task OnGetAsync() { JobCompetenciesKnowledge = await _jobCompetencyService.GetJobCompetenciesByTypeId(1); JobCompetenciesTechnical = await _jobCompetencyService.GetJobCompetenciesByTypeId(2); JobCompetenciesBehavioural = await _jobCompetencyService.GetJobCompetenciesByTypeId(3); JobCompetenciesExecutive = await _jobCompetencyService.GetJobCompetenciesByTypeId(4); JobCertificates = await _jobCompetencyService.GetJobCertificates(); JobGroups = await _jobCompetencyService.GetJobGroups(); JobCertificateDescriptions = await _jobCompetencyService.GetAllJobCertificateDescriptions(); CurrentSelectedJobGroup = JobGroups[0]; JobGroupPositions = await _jobCompetencyService.GetSubGroupLevelsByGroupId(JobGroups[0].Id); SubJobGroupId = JobGroupPositions.FirstOrDefault().SubJobGroupId; JobGroupLevelId = JobGroupPositions.FirstOrDefault().LevelId; LevelCode = JobGroupPositions.FirstOrDefault().LevelCode; }
public async Task OnGetAsync() { JobCompetenciesKnowledge = await _jobCompetencyService.GetJobCompetenciesByTypeId(1); JobCompetenciesTechnical = await _jobCompetencyService.GetJobCompetenciesByTypeId(2); JobCompetenciesBehavioural = await _jobCompetencyService.GetJobCompetenciesByTypeId(3); JobCompetenciesExecutive = await _jobCompetencyService.GetJobCompetenciesByTypeId(4); JobCertificates = await _jobCompetencyService.GetJobCertificates(); JobGroups = await _jobCompetencyService.GetJobGroups(); CurrentSelectedJobGroup = JobGroups[0]; JobGroupPositions = await _jobCompetencyService.GetJobGroupPositionsById(JobGroups[0].Id); }
public async Task OnGetAsync(int typeId) { Type = await _jobCompetencyService.GetJobCompetencyTypeById(typeId); Competencies = await _jobCompetencyService.GetJobCompetenciesByTypeId(typeId); }