public IDataResult <Rentals> GetById(int id) { return(new SuccessDataResult <Rentals>(_rentalsDal.GetById(r => r.Id == id), SuccessMessages.RentalListed)); }
public IDataResult <Rentals> GetById(int id) { return(new SuccessDataResult <Rentals>(_rentalsDal.GetById(r => r.Id == id), SuccessMessages.RentalListed)); }