Пример #1
0
 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;
 }
Пример #2
0
 public WorkerScalingController(ApplicationDbContext context, IHostingEnvironment env, WorkerHostService hostService)
 {
     _context     = context;
     _env         = env;
     _hostService = hostService;
 }