示例#1
0
 public void Execute()
 {
     using (var serviceProvider = new PrepareDependancies().SetupDependancies().BuildServiceProvider())
     {
         _mobileAppService = serviceProvider.GetService <IMobileAppService>();
     }
     AsyncHelper.RunSync(() => _mobileAppService.SendPostedNotificationForSuppliersJob());
 }
 public void Execute()
 {
     using (var serviceProvider = new PrepareDependancies().SetupDependancies().BuildServiceProvider())
     {
         offerAppService = serviceProvider.GetService <IOfferAppService>();
         AsyncHelper.RunSync(() => offerAppService.EncryptQuantitiesTableItems());
     }
 }