public async Task <IActionResult> OnPostAddAsync()
        {
            if (ModelState.IsValid)
            {
                var patient = await repository.AddPatientAsync(Patient);

                return(RedirectToPage("Patient", new { patient.Id }));
            }
            return(Page());
        }