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

            Employers = await _service.GetEmployers();

            GoogleMapsApiKey = _config["GoogleMapsApiKey"];
        }
Example #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"];
        }