public IDataResult <List <Address> > GetAll() { return(new SuccessDataResult <List <Address> >(_addressDal.GetAll(), Messages.AddressesListed)); }
public IDataResult <List <Address> > GetAll() { return(new SuccessDataResult <List <Address> >(_addressDal.GetAll())); }
public List <Address> GetAll() { return(_addressDal.GetAll()); }
public IEnumerable <Address> GetByUserId(string id) { return(_AddessDal.GetAll().Where(i => i.UserId == id)); }