public async Task <ResourceResponse <Document> > UpdateSessionAsync(string sessionJson, Guid sessionId)
        {
            if (string.IsNullOrEmpty(sessionJson))
            {
                return(null);
            }

            var documentUri = DocumentDBHelper.CreateSessionDocumentUri(sessionId);

            var client = DocumentDBClient.CreateDocumentClient();

            if (client == null)
            {
                return(null);
            }

            var sessionDocumentJObject = JObject.Parse(sessionJson);

            var response = await client.ReplaceDocumentAsync(documentUri, sessionDocumentJObject);

            return(response);
        }