public async Task <FluentResults.Result <IDictionary <string, string> > > Submit() { if (transaction != null) { return(await transaction.ApiMutate(ApiMutation)); } else { return(Results.Fail <IDictionary <string, string> >("No transaction set")); } }
public async Task <FluentResults.Result <IDictionary <string, string> > > SubmitTo(ITransaction transaction) { return(await transaction.ApiMutate(ApiMutation)); }