public static Patient JoinPatient(string PatientId)
        {
            var Patient = PatientPersistance.Load().Find(patient => patient.UniqueId == PatientId);

            if (Patient != null)
            {
                return(Patient);
            }

            return(null);
        }
        public IActionResult CreatePatient(Patient patient)
        {
            var patients = PatientPersistance.Load();

            patients.Add(new Patient(
                             patient.FirstName,
                             patient.LastName,
                             patient.Address,
                             patient.PhoneNumber,
                             patient.Birthdate
                             ));
            PatientPersistance.Save(patients);
            return(Redirect("Index"));
        }
        public IActionResult Index()
        {
            var patients = PatientPersistance.Load();

            return(View(patients));
        }