protected async Task Delete(object obj) { if (obj is TopicDisplayDto dto) { await ConfirmService.ConfirmAsync( async() => await NetService.DelTopic(dto.Id), async() => await SearchData(true) ); } }