public async Task <PaginatedCustomerProfilesResponse> GetCustomersPaginatedAsync( [FromQuery] PaginationModel pagingInfo, [FromQuery] bool includeNotVerified, [FromQuery] bool includeNotActive) { var result = await _customerProfileService.GetPaginatedAsync(pagingInfo.CurrentPage, pagingInfo.PageSize, includeNotVerified, includeNotActive); if (result.Customers.Any()) { var customerIds = result.Customers.Select(x => x.CustomerId); _log.Info(GetApiKeyName(), new { customerIds }); } return(_mapper.Map <PaginatedCustomerProfilesResponse>(result)); }