private async Task <BaseItem> Update(BaseItem item)
        {
            BaseItem result = null;

            item.SyncPostponed = false;
            if (item.AdapterType == _targetEntityAdapter.GetType())
            {
                result = await _sourceEntityAdapter.UpdateItem(item);

                if (!item.IsCollection)
                {
                    _downloadCount++;
                }
            }
            else if (item.AdapterType == _sourceEntityAdapter.GetType())
            {
                result = await _targetEntityAdapter.UpdateItem(item);

                if (!item.IsCollection)
                {
                    _uploadCount++;
                }
            }
            return(result);
        }