public async Task <IActionResult> DeleteCommand(Guid commandId) { var response = await _commandService.DeleteCommand(commandId); return(Ok(new ApiOkResponse(response))); }
public async Task<CommandDto?> DeleteCommand(int id) { return await _service.DeleteCommand(id); }