Exemplo n.º 1
0
 public IEnumerable <Project> GetAll()
 {
     return(projectDao.GetAll(null, 0).Where(canReadDelegate));
 }
Exemplo n.º 2
0
 public virtual List <Project> GetAll()
 {
     return(projectDao.GetAll(null, 0)
            .Where(CanRead)
            .ToList());
 }
Exemplo n.º 3
0
 public ActionResult <IEnumerable <Project> > Get()
 {
     return(Ok(_projectDao.GetAll()));
 }