public async Task LoadAsync(OrderListArgs args, bool silent = false) { ViewModelArgs = args ?? OrderListArgs.CreateEmpty(); Query = ViewModelArgs.Query; if (silent) { await RefreshAsync(); } else { StartStatusMessage("Loading orders..."); if (await RefreshAsync()) { EndStatusMessage("Orders loaded"); } } }
public async Task LoadAsync(OrderListArgs args) { await OrderList.LoadAsync(args); }