partial void DeleteDoctorData(DoctorData instance);
 partial void InsertDoctorData(DoctorData instance);
 partial void UpdateDoctorData(DoctorData instance);
        public bool DoctorRegistration(string medicalRegistrationNo, string firstName, string lastName, int phoneNumber, string healthProfession, string email)
        {
            DoctorData doctor = new DoctorData()
            {
                MedicalRegistrationNo = medicalRegistrationNo,
                FirstName = firstName,
                LastName = lastName,
                PhoneNumber = phoneNumber,
                HealthProfession = healthProfession,
                Email = email
            };

            db.DoctorDatas.InsertOnSubmit(doctor);

            try
            {
                db.SubmitChanges();
            }
            catch (Exception e)
            {
                throw new FaultException(e.Message);
            }

            return true;
        }