Example #1
0
        public async Task <IActionResult> Delete(int pageDirectoryId)
        {
            var command = new DeletePageDirectoryCommand();

            command.PageDirectoryId = pageDirectoryId;

            return(await _apiResponseHelper.RunCommandAsync(this, command));
        }
        public Task <JsonResult> Delete(int pageDirectoryId)
        {
            var command = new DeletePageDirectoryCommand();

            command.PageDirectoryId = pageDirectoryId;

            return(_apiResponseHelper.RunCommandAsync(command));
        }
Example #3
0
        public Task DeleteAsync(int PageDirectoryId)
        {
            var command = new DeletePageDirectoryCommand()
            {
                PageDirectoryId = PageDirectoryId
            };

            return(ExtendableContentRepository.ExecuteCommandAsync(command));
        }