/// <summary>
        ///
        /// </summary>
        /// <param name="tableQuery"></param>
        /// <returns></returns>
        protected virtual async Task <IEnumerable <ConnectionEntity> > GetConnectionEntitiesAsync(TableQuery <ConnectionEntity> tableQuery = null)
        {
            Dictionary <Party, Party> connectedParties = new Dictionary <Party, Party>();

            tableQuery = tableQuery ?? new TableQuery <ConnectionEntity>();
            return(await AzureStorageHelper.ExecuteTableQueryAsync(_connectionsTable, tableQuery));
        }
 /// <summary>
 ///
 /// </summary>
 /// <param name="cloudTable"></param>
 /// <param name="tableQuery"></param>
 /// <returns></returns>
 protected virtual async Task <IEnumerable <PartyEntity> > GetPartyEntitiesAsync(
     CloudTable cloudTable, TableQuery <PartyEntity> tableQuery = null)
 {
     tableQuery = tableQuery ?? new TableQuery <PartyEntity>();
     return(await AzureStorageHelper.ExecuteTableQueryAsync <PartyEntity>(cloudTable, tableQuery));
 }