Пример #1
0
 public IDataResult <List <Cars> > GetAll()
 {
     return(new SuccessDataResult <List <Cars> >(_carsDal.GetAll(), Messages.CarListed));
 }
 public List <Cars> GetAll()
 {
     return(_carsDal.GetAll());
 }