public DynamicPortsController(IMapper mapper, IConfiguration configuration, ITopologyRepository repository, TopoEditContext topoEditContext) { this.mapper = mapper; this.configuration = configuration; this.repository = repository ?? throw new ArgumentNullException(nameof(repository)); this.topoEditContext = topoEditContext ?? throw new ArgumentNullException(nameof(topoEditContext)); }
public TopologyRepository(TopoEditContext context) { this.context = context; }
public TopoDataImportService(TopoEditContext topoEditContext) { this.topoEditContext = topoEditContext ?? throw new ArgumentNullException(nameof(topoEditContext)); }