public async Task Delete(ItemDeleteDto dto) { var command = new PostDeleteCommand() { Input = dto }; await CommandBus.SendAsync(command); }
public async Task CommentDelete(Guid id) { var dto = new ItemDeleteDto() { Id = id }; var command = new CommentDeleteCommand() { Input = dto }; await CommandBus.SendAsync(command); }