コード例 #1
0
        public Task <JsonResult> Delete(int pageVersionBlockId)
        {
            var command = new DeletePageVersionBlockCommand()
            {
                PageVersionBlockId = pageVersionBlockId
            };

            return(_apiResponseHelper.RunCommandAsync(command));
        }
コード例 #2
0
        public Task DeleteAsync(int pageVersionBlockId)
        {
            var command = new DeletePageVersionBlockCommand()
            {
                PageVersionBlockId = pageVersionBlockId
            };

            return(ExtendableContentRepository.ExecuteCommandAsync(command));
        }
コード例 #3
0
        public async Task <IActionResult> Delete(int pageVersionBlockId)
        {
            var command = new DeletePageVersionBlockCommand()
            {
                PageVersionBlockId = pageVersionBlockId
            };

            return(await _apiResponseHelper.RunCommandAsync(this, command));
        }