public async Task <TResult> RunTransactionAsync <TResult>(Func <ITransaction, TResult> updateFunc) { var result = await _firestore.RunTransaction(new TransactionFunction <TResult>(updateFunc)); return((TResult)result?.ToObject(typeof(TResult))); }
public async Task <TResult> RunTransactionAsync <TResult>(Func <ITransaction, TResult> updateFunc) { var result = await _firestore.RunTransaction(new TransactionFunction <TResult>(updateFunc)); return((TResult)result?.ToObject(typeof(TResult))); }