public bool GetIntakeCheck(string intakeCode) { //This funciton will check does the intake data exist //Get Network Data DownloadData download = new DownloadData(); string intakeInfoData = download.IntakeInfoCheck(intakeCode); if (intakeInfoData.Equals(GlobalData.NoClassIntakeError)) { //If No Class, return error return(false); } GlobalData.IntakeCode = intakeCode; GlobalData.IntakeCodeUrl = intakeInfoData; return(true); }