示例#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());
     }
 }