private void GetAvailableDomains(IObjectStore configuration, EntityGateway <Domain> domainGateway) { var options = configuration.GetList("domain-options"); domains = domainGateway.FindAll(options); }