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