public List <Person> GetAll() { return(_personDal.GetList()); }
public List <Person> GetList(Expression <Func <Person, bool> > filter = null) { return(_personDal.GetList(filter)); }
public IDataResult <List <Person> > GetList() { return(new SuccessDataResult <List <Person> >(_personDal.GetList())); }
public IDataResult <List <Person> > GetAllPersons() { var result = new SuccessDataResult <List <Person> >(_personDal.GetList(null, pi1 => pi1.ContactInfos)); return(result); }