using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;

namespace RazorModelBinding.Pages
{
    public class ParametersModel : PageModel
    {
        public void OnPost(string naam, string geboortedatum, string nationaliteit)
        {
            ViewData["NieuweAtleet"] = $"Invoer: {naam} {geboortedatum} ({nationaliteit})";
        }
    }
}