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; } }
protected override void RepositoryUpload(Models.ServiceAccountDTO myServiceAccount) { ExchangeRepository.Upload(myServiceAccount); }
protected abstract void RepositoryUpload(Models.ServiceAccountDTO myServiceAccount);