public IDataResult <List <RentalsDetailDto> > GetRentalDetails(Expression <Func <Rentals, bool> > filter = null) { return(new SuccessDataResult <List <RentalsDetailDto> >(_rentalsDal.GetCarDetails(filter), Messages.ReturnetRental)); }