public Common.Doctor GetDoctor(Guid?DoctorId) { DataLayer.PatientsHandler dapat = new DataLayer.PatientsHandler(); return(dapat.GetDoctor(DoctorId)); //2nd method which does the same thing //return new DataLayer.DAUsers().GetUsers(); }
public IQueryable <Common.Doctor> GetDoctors() { DataLayer.PatientsHandler dapat = new DataLayer.PatientsHandler(); return(dapat.GetDoctor()); //2nd method which does the same thing //return new DataLayer.DAUsers().GetUsers(); }
public Common.DoctorType GetDoctorType(string TypeName) { DataLayer.PatientsHandler dapat = new DataLayer.PatientsHandler(); return(dapat.GetDoctorTypes(TypeName)); //2nd method which does the same thing //return new DataLayer.DAUsers().GetUsers(); }