Esempio n. 1
0
        public async Task DeleteItem(TodoItem item)
        {
            await CreateConnection();

            await connection.DeleteAsync(item);

            OnItemDeleted.Invoke(this, item);
        }
Esempio n. 2
0
 private void UiNetTypeItemOnOnDeleteClicked(UIComponent component, int index)
 {
     OnItemDeleted?.Invoke(this, index);
 }