public ExperimentController(ApplicationDbContext context, IMapper mapper, WorkerHostService hostService, ScalingService scalingService, IMemoryCache memoryCache, DirectoryOptions directoryOptions) { _context = context; _mapper = mapper; _hostService = hostService; _scalingService = scalingService; _cache = memoryCache; _directoryOptions = directoryOptions; }
public WorkerScalingController(ApplicationDbContext context, IHostingEnvironment env, WorkerHostService hostService) { _context = context; _env = env; _hostService = hostService; }