/// <summary> /// returns list of met delete conditions /// </summary> /// <returns></returns> public IEnumerable <Resignation> GetTodayDeletes() { return(from rec in Adapter.GetRecords(RecordStatus.Disabled) where (DateTime.Today - rec.ResignDay).TotalDays >= DeleteAccountAfter && (DeleteFailSafe && IgnoreList.FirstOrDefault(r => string.Compare(r.ADName, rec.ADName, true) == 0) == null) select rec); }