Ejemplo n.º 1
0
        public async Task<IActionResult> Delete(int customEntityId)
        {
            var command = new DeleteCustomEntityCommand();
            command.CustomEntityId = customEntityId;

            return await _apiResponseHelper.RunCommandAsync(this, command);
        }
Ejemplo n.º 2
0
        public Task <JsonResult> Delete(int customEntityId)
        {
            var command = new DeleteCustomEntityCommand();

            command.CustomEntityId = customEntityId;

            return(_apiResponseHelper.RunCommandAsync(command));
        }
Ejemplo n.º 3
0
        public Task DeleteAsync(int customEntityId)
        {
            var command = new DeleteCustomEntityCommand()
            {
                CustomEntityId = customEntityId
            };

            return(ExtendableContentRepository.ExecuteCommandAsync(command));
        }