예제 #1
0
        public async void CheckForSubscribedServices()
        {
            try
            {
                await HandleFunFactSubscriber();
                await HandleMemeSubscriber();
                await HandleDeutscheMemeSubscriber();
                await HandleDuckSubscriber();
                await HandleAlpacaSubscriber();
                await UpdateCountDowns();
                await CheckForCsgoUpdate();

                await _readyToPlayHandler.UpdateReadyToPlay();
            }
            catch (Exception e)
            {
                _dapperDB.WriteEventLog("Init", "Error", "There was an error" + e.Message, "CheckForSubscribedServices");
            }
        }
        public async Task <ActionResult> UpdateDC()
        {
            await _readyToPlayHandler.UpdateReadyToPlay();

            return(Ok());
        }