[#71] Refactored index method in ParkingsController replacing if statement and paginating in both with setting @parking once