public ViewModel(IConfigurationForTenants configurationForTenants, IWorkspaces workspaces, ISerializer serializer) { _configurationForTenants = configurationForTenants; _workspaces = workspaces; _serializer = serializer; configurationForTenants.GetAll().ForEach(_tenantsCollection.Add); }
public ViewModel(IConfigurationForTenants configurationForTenants, IAuthentication authentication, IWorkspaces workspaces) { _configurationForTenants = configurationForTenants; _workspaces = workspaces; _authentication = authentication; configurationForTenants.GetAll().ForEach(_tenantsCollection.Add); }