private async Task Delete() { var ok = await _huntFactory.DeleteHunt(ID); if (ok) { await _navigator.PopToRootAsync(); } }
private async Task DeleteItem(object item) { var hunt = (item as HuntListItemViewModel); var ok = await _huntFactory.DeleteHunt(hunt.ID); if (ok) { await FetchData(); } }