public List <Car> GetAllById(int Id) { return(_carDal.GetAllById(Id)); }
public IDataResult <List <CarDetailDto> > GetAllById(int id) { return(new SuccessDataResult <List <CarDetailDto> >(_carDal.GetAllById(c => c.Id == id))); }