示例#1
0
 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"));
     }
 }
示例#2
0
 public async Task <FluentResults.Result <IDictionary <string, string> > > SubmitTo(ITransaction transaction)
 {
     return(await transaction.ApiMutate(ApiMutation));
 }