Exemplo n.º 1
0
 void _supplierOperationVM_OnSaved(object sender, Supplier e)
 {
     SupplierCollection.Remove(e);
     SupplierCollection.Add(e);
     _hardwareOperationVM_OnClosed(sender, new EventArgs {
     });
 }
Exemplo n.º 2
0
        private async void DeleteHardwareCommandAction(object obj)
        {
            await DbHandler.Instance.DeleteSupplier(obj as Supplier);

            SupplierCollection.Remove(obj as Supplier);
        }