public async Task TestRequestFlows() { IList <Flow> flows = await _client.GetFlows(); Assert.NotNull(flows); Assert.Greater(flows.Count, 3); AssertFlow(flows.First()); }
public async Task RequestFlows() { _flows.Clear(); IList <Flow> flows = await _client.GetFlows(); foreach (Flow flow in flows) { string status = flow.Enabled ? "Enabled" : "Disabled"; _flows.Add(new Info { Key = flow.Id, Value = flow.Name, Status = status }); } NotifyPropertyChanged(nameof(Flows)); }