public static Doctor JoinDoctor(string DoctorId)
        {
            var Doctor = DoctorPersistance.Load().Find(doc => doc.UniqueId == DoctorId);

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

            return(null);
        }
        public IActionResult CreateDoctor(Doctor doctor)
        {
            List <Doctor> doctors = DoctorPersistance.Load();

            doctors.Add(
                new Doctor(
                    doctor.FirstName,
                    doctor.LastName,
                    doctor.Address,
                    doctor.PhoneNumber,
                    doctor.Birthdate,
                    doctor.Specialty
                    )
                );
            DoctorPersistance.Save(doctors);
            return(Redirect("Index"));
        }