public async Task <Models.Goal> UpdateCosmosAsync(string goalJson, Guid goalId)
        {
            if (string.IsNullOrEmpty(goalJson))
            {
                return(null);
            }

            var response = await _documentDbProvider.UpdateGoalAsync(goalJson, goalId);

            var responseStatusCode = response?.StatusCode;

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