Beispiel #1
0
 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()));
 }
Beispiel #3
0
 public List <Address> GetAll()
 {
     return(_addressDal.GetAll());
 }
Beispiel #4
0
 public IEnumerable <Address> GetByUserId(string id)
 {
     return(_AddessDal.GetAll().Where(i => i.UserId == id));
 }