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(); }
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(); }
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."); } }