public DoctorManager() { doctorGateway = new DoctorGateway(); }
public bool DeleteDoctorById(int doctorId) { DoctorGateway doctorGateway = new DoctorGateway(); return(doctorGateway.DeleteDoctorById(doctorId)); }
public List <DoctorDepartment> SearchDoctorByNameWithDepartment(string search) { DoctorGateway doctorGateway = new DoctorGateway(); return(doctorGateway.SearchDoctorByNameWithDepartment(search)); }
public bool Update(Doctor doctor) { DAL.DoctorGateway gateway = new DoctorGateway(); return(gateway.Update(doctor)); }
public Doctor GetDoctorById(int doctorId) { DAL.DoctorGateway gateway = new DoctorGateway(); return(gateway.GetDoctorById(doctorId)); }
public List <DoctorDepartment> GetDoctorListWithDepartments() { DoctorGateway doctorGateway = new DoctorGateway(); return(doctorGateway.GetDoctorListWithDepartments()); }
public List <Doctor> GetDoctorList() { DoctorGateway doctorGateway = new DoctorGateway(); return(doctorGateway.GetDoctorList()); }
public bool Save(Doctor doctor) { DoctorGateway doctorGateway = new DoctorGateway(); return(doctorGateway.Save(doctor)); }