public async Task LoadAsync(OrderItemListArgs args, bool silent = false) { ViewModelArgs = args ?? OrderItemListArgs.CreateEmpty(); Query = ViewModelArgs.Query; if (silent) { await RefreshAsync(); } else { StartStatusMessage("Loading order items..."); if (await RefreshAsync()) { EndStatusMessage("OrderItems loaded"); } } }
public async Task LoadAsync(OrderItemListArgs args) { await OrderItemList.LoadAsync(args); }