protected void BtnSave_Click(object sender, EventArgs e)
 {
     Doctor aDoctor = new Doctor();
     aDoctor.DoctorName = txtDoctorName.Text;
     aDoctor.Degree = txtDegree.Text;
     aDoctor.Specialization = txtSpecialization.Text;
     int centerId = int.Parse(Session["Center_id"].ToString());
     Alert.Show(doctorManager.SaveDoctor(aDoctor, centerId));
 }
        public string SaveDoctor(Doctor aDoctor, int centerId)
        {
            int value = doctorGateway.SaveDoctor(aDoctor, centerId); ;

            if (value > 0)
            {
                return "Doctor Has Been Saved";
            }
            else return "Failed";
        }