コード例 #1
0
 public DoctorManager()
 {
     doctorGateway = new DoctorGateway();
 }
コード例 #2
0
        public bool DeleteDoctorById(int doctorId)
        {
            DoctorGateway doctorGateway = new DoctorGateway();

            return(doctorGateway.DeleteDoctorById(doctorId));
        }
コード例 #3
0
        public List <DoctorDepartment> SearchDoctorByNameWithDepartment(string search)
        {
            DoctorGateway doctorGateway = new DoctorGateway();

            return(doctorGateway.SearchDoctorByNameWithDepartment(search));
        }
コード例 #4
0
 public bool Update(Doctor doctor)
 {
     DAL.DoctorGateway gateway = new DoctorGateway();
     return(gateway.Update(doctor));
 }
コード例 #5
0
 public Doctor GetDoctorById(int doctorId)
 {
     DAL.DoctorGateway gateway = new DoctorGateway();
     return(gateway.GetDoctorById(doctorId));
 }
コード例 #6
0
        public List <DoctorDepartment> GetDoctorListWithDepartments()
        {
            DoctorGateway doctorGateway = new DoctorGateway();

            return(doctorGateway.GetDoctorListWithDepartments());
        }
コード例 #7
0
        public List <Doctor> GetDoctorList()
        {
            DoctorGateway doctorGateway = new DoctorGateway();

            return(doctorGateway.GetDoctorList());
        }
コード例 #8
0
        public bool Save(Doctor doctor)
        {
            DoctorGateway doctorGateway = new DoctorGateway();

            return(doctorGateway.Save(doctor));
        }