Example #1
0
 public IDataResult <List <CarDetailDto> > GetCarDetailsByColorId(int colorId)
 {
     return(new SuccessDataResult <List <CarDetailDto> >(_carDal.GetAllDetailsBy(c => c.ColorId == colorId, _defaultImagePath)));
 }