public async Task <IActionResult> GetAll([FromQuery] PaginationParams paginationParams)
        {
            var checkouts = await _checkoutService.GetAllCurrentCheckouts(paginationParams);

            var checkoutsToReturn = _mapper.Map <IEnumerable <CheckoutForReturnDto> >(checkouts);

            Response.AddPagination(checkouts.CurrentPage, checkouts.PageSize,
                                   checkouts.TotalCount, checkouts.TotalPages);

            return(Ok(checkoutsToReturn));
        }