private async Task LoadInventoryItemsAsync() { var result = await _inventoryService.GetAllCommand().ExecuteAsync(); var vms = result.Value.Select(i => new InventoryItemVM(i, _inventoryService, _mainVM)); InventoryItems = vms.ToArray(); }
private async Task LoadInventoryItemsAsync() { var result = await _inventoryService.GetAllCommand().ExecuteAsync(); var vms = result.Value.Select(i => new InventoryItemVM(i, _inventoryService, _mainVM)); InventoryItems = vms.ToArray(); }