예제 #1
0
        // -------------------     Data methods    -------------------

        // approve selected equipment table item, update table and replace current listview with updated table items
        async Task ApproveItemRental(Equipment item)
        {
            await manager.ApproveRentalAsync(item, this);

            equipmentList.ItemsSource = await manager.GetTableAsync(this);
        }