public static StaffADProfile getStaffADProfile(string staff_id, int chk = 0) { //Get the staff profile StaffADProfile staffADProfile = new StaffADProfile(); staffADProfile.employee_number = staff_id; //AD //ActiveDirectoryQuery activeDirectoryQuery = new ActiveDirectoryQuery(staffADProfile, staff_number); // = activeDirectoryQuery.GetStaffProfileByNumber(); //if (staffADProfile == null) //{ // return null; //} return(LINQCalls.getXceedProfile(staffADProfile)); }
internal static Tuple <int, string, int> getXceedServer(StaffADProfile staffADProfile) { return(LINQCalls.getXceedConnector(staffADProfile)); }