Beispiel #1
0
 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);
     }));
 }
Beispiel #2
0
        public void Resolve()
        {
            var rbll = new RouletteBLL();

            rbll.Resolve(true);
        }