Esempio n. 1
0
 public virtual Task SaveAsync(TransactionLog transactionLog)
 {
     return(_transactionLogRepository.InsertAsync(TransactionLog.CreateTransactionLog(transactionLog)));
 }
 /// <summary>
 ///     保存交易日志
 /// </summary>
 /// <param name="transactionLogStore"></param>
 /// <param name="transactionLog"></param>
 public static void Save(this ITransactionLogStore transactionLogStore, TransactionLog transactionLog)
 {
     AsyncHelper.RunSync(() => transactionLogStore.SaveAsync(transactionLog));
 }