public async Task <PaginatedCustomerOperationsModel> GetByCustomerIdPaginatedAsync(string customerId, int currentPage, int pageSize) { var(skip, take) = ValidateAndCalculateSkipAndTake(currentPage, pageSize); var result = await _transactionHistoryRepository.GetByCustomerIdPaginatedAsync(customerId, skip, take); await SetCustomersEmails(result.Transfers); return(result); }