public override Task Execute() { return(new Task(() => { //SysBLL.Log("start job"); var fetchedSSCCount = Wx.Common.Helpers.SSCHelper.FetchSSC(DateTime.Now.Date).Where(r => !string.IsNullOrWhiteSpace(r.no)).Count(); if (fetchedSSCCount == LastFetchedSSCCount) { return; } SysBLL.Log("start resolve"); LastFetchedSSCCount = fetchedSSCCount; var rbll = new RouletteBLL(); rbll.Resolve(true); })); }