예제 #1
0
파일: Blimp.cs 프로젝트: YissacharB/PL
 public IEnumerable <Report> GetAllReports(Func <Report, bool> pFunc = null)
 {
     if (pFunc == null)
     {
         return(dal.GetAllReports());
     }
     else
     {
         return((from report in dal.GetAllReports()
                 where pFunc(report)
                 select report).ToList());
     }
 }