示例#1
0
        public async Task <bool> ExecuteAction(Action action, object message)
        {
            return(await Task.FromResult(true));

            // Here write the Code to Send the email
            //throw new NotImplementedException();
        }
示例#2
0
        public async Task <bool> ExecuteAction(Action action, object message)
        {
            // Here write the Code to initiate the Docusign Signing ceremony
            return(await Task.FromResult((true)));

            //throw new NotImplementedException();
        }
示例#3
0
 public async Task <bool> ExecuteAction(Action action, object data)
 {
     if (_actionProcessors.TryGetValue(action.ActionProcessorTypeName, out IActionProcessor actionProcessor))
     {
         return(await actionProcessor.ExecuteAction(action, data));
     }
     else
     {
         throw new ArgumentException("Action Processor not found in the database.");
     }
 }