public override bool OnStart() { // set the maximum number of concurrent connections ServicePointManager.DefaultConnectionLimit = 12; _repository = new Repository(); _queueClient = QueueConnector.GetQueueClient(); _mediaServices = new MediaServices(); _isStopped = false; return base.OnStart(); }
public VideosAPIController() { _repository = new Repository(); _mediaServices = new MediaServices(); }
public VideosController() { _repository = new Repository(); }
public VideoProcessor(Repository repository) { _repository = repository; }