public async Task <Models.AdviserDetail> UpdateCosmosAsync(string adviserDetail, Guid adviserDetailId)
        {
            if (adviserDetail == null)
            {
                return(null);
            }

            var response = await _documentDbProvider.UpdateAdviserDetailAsync(adviserDetail, adviserDetailId);

            var responseStatusCode = response?.StatusCode;

            return(responseStatusCode == HttpStatusCode.OK ? (dynamic)response.Resource : null);
        }