public async Task <Models.Action> CreateAsync(Models.Action action)
        {
            if (action == null)
            {
                return(null);
            }

            action.SetDefaultValues();

            var documentDbProvider = new DocumentDBProvider();

            var response = await documentDbProvider.CreateActionAsync(action);

            return(response.StatusCode == HttpStatusCode.Created ? (dynamic)response.Resource : null);
        }