コード例 #1
0
        public async Task DeleteList(CCListDataModel item)
        {
            if (await _dialogs.ShowConfirm("Are you sure you want to delete this list?"))
            {
                var index = this.ConflictChamberLists.IndexOf(item);
                if (index >= 0)
                {
                    await _dataService.DeleteList(item);

                    this.ConflictChamberLists.RemoveAt(index);
                    RaisePropertyChanged(nameof(ConflictChamberLists));
                }
            }
        }