예제 #1
0
        public async Task <ActionResult <List <ParkingLotDto> > > GetParkingLotByPageIndex(int pageIndex)
        {
            var allLots = await parkingLotService.GetParkingLotsByPage(pageIndex);

            return(Ok(allLots));
        }