Beispiel #1
0
 protected override void Execute(CodeActivityContext context)
 {
     log.Debug(string.Format("Entered for '{0}'", ServiceAccount));
     try
     {
         Models.ServiceAccountDTO myServiceAccount = ServiceAccount.Get(context);
         log.Debug(string.Format("Would be called on '{0}'", myServiceAccount));
         ServiceAccountRepository.Download(myServiceAccount, null);
     }
     catch (Exception ex)
     {
         log.Fatal("failed", ex);
         throw;
     }
 }
Beispiel #2
0
 protected override void RepositoryUpload(Models.ServiceAccountDTO myServiceAccount)
 {
     ExchangeRepository.Upload(myServiceAccount);
 }
Beispiel #3
0
 protected abstract void RepositoryUpload(Models.ServiceAccountDTO myServiceAccount);