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

            return(result);
        }