public static EOGRETIMGOREVLISI Select(string ogretimNo, string sifre) { if (ogretimNo.Length == 9 && sifre.Length > 0) { return(FOGRETIMGOREVLISI.Select(ogretimNo, sifre)); } else { return(null); } }