Beispiel #1
0
        public async Task OnGet()
        {
            Types = await _service.GetTypes();

            Employers = await _service.GetEmployers();

            GoogleMapsApiKey = _config["GoogleMapsApiKey"];
        }
Beispiel #2
0
        public async Task OnGet(int id)
        {
            Mission = await _service.GetMissionById(id);

            Types = await _service.GetTypes(Mission.MissionTypeId);

            Employers = await _service.GetEmployers(Mission.EmployerId);

            GoogleMapsApiKey = _config["GoogleMapsApiKey"];
        }