Example #1
0
        public async Task <IActionResult> OnGet()
        {
            ToiletsModel = await _toiletsBerlinData.GetToiletById(Id);

            return(Page());
        }
Example #2
0
 public async Task OnGet()
 {
     Toilet = await _toiletsBerlinData.GetToiletById(Id);
 }