자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public async Task MakeRoll() { var winningPoint = GenerateRandomCircle(); _transactionRepository.Begin(); var oldRoll = await FinishRoll(winningPoint); if (oldRoll != null) { await PickWinner(oldRoll.Id, winningPoint); } _transactionRepository.End(); _transactionRepository.Begin(); await CreateNewRoll(oldRoll); _transactionRepository.End(); }