private async Task LoadDrinks() { try { Drinks.Clear(); await Task.Delay(2000); var drinks = GetDrinks(); drinks.ForEach(d => Drinks.Add(d)); this.smwMachine.TryFireTrigger(SMWorkflowMachine.Trigger.SelectedDrink); if (Drinks.Count > 0) { SelectedDrink = Drinks.First(); } } catch (Exception) { this.smwMachine.TryFireTrigger(SMWorkflowMachine.Trigger.NotFound); } }