public static List<ApiConfiguration> Get(IHandleGettingConfiguration configuration, IHandleGettingIntegrationClient client)
 {
     var config = new GetAllConfigurations();
     var clientCommand = new GetIntegrationClients();
     configuration.Handle(config);
     client.Handle(clientCommand);
     return config.Configurations.Select(s => new ApiConfiguration(s, clientCommand.Clients.FirstOrDefault(w => w.Id == s.ClientId))).ToList();
 }
 public void SetIntegrationClients(IHandleGettingIntegrationClient handler, GetIntegrationClients command)
 {
     handler.Handle(command);
     SelectableIntegrationClients = command.Clients.ToList();
 }
 public static ClientDto Existing(IHandleGettingIntegrationClient client, GetIntegrationClient command)
 {
     client.Handle(command);
     return command.Client;
 }
 public static IEnumerable<LimClientView> Get(IHandleGettingIntegrationClient client)
 {
     var command = new GetIntegrationClients();
     client.Handle(command);
     return command.Clients.Select(s => new LimClientView(s));
 }