public async Task <IHttpActionResult> DeleteDraft(int pageId)
        {
            var command = new DeletePageDraftVersionCommand()
            {
                PageId = pageId
            };

            return(await _apiResponseHelper.RunCommandAsync(this, command));
        }
示例#2
0
        public Task DeleteDraftAsync(int pageId)
        {
            var command = new DeletePageDraftVersionCommand()
            {
                PageId = pageId
            };

            return(ExtendableContentRepository.ExecuteCommandAsync(command));
        }
        public Task <JsonResult> DeleteDraft(int pageId)
        {
            var command = new DeletePageDraftVersionCommand()
            {
                PageId = pageId
            };

            return(_apiResponseHelper.RunCommandAsync(command));
        }