public async Task UpdateDocumentAsync(string projectId, string branchName, string fileUri, DocumentDto document)
        {
            var result = await _documentsClient.Put(projectId, branchName, fileUri, document);

            if (!result.IsSuccessStatusCode)
            {
                var content = await result.Content.ReadAsStringAsync();

                throw new UpdateDocumentException("During updating document error occurs: " + content);
            }

            _cacheService.ClearDocumentCache(projectId, branchName, fileUri);
        }