public List <Person> GetAll() { return(_personDal.GetAll()); }
public IDataResult <List <Person> > GetAll() { return(new SuccessDataResult <List <Person> >(_personDal.GetAll())); }
public async Task <List <Person> > GetAll() { return(await _personDal.GetAll()); }