Example #1
0
        public TimeController(Config config, IBackuper backuper)
        {
            _config   = config;
            _backuper = backuper;

            _timer = new Timer(_ => Task.Run(() => _backuper.Update()));
        }