protected async Task <LotteryPhase> FindLotteryPhaseAsync(int lotteryId, int issueNumber) { ILotteryPhaseApplicationService lotteryPhaseApplicationService = IocResolver.GetRequiredService <ILotteryPhaseApplicationService>(); LotteryPhase lotteryPhase = await lotteryPhaseApplicationService.FindLotteryPhase(lotteryId, issueNumber); return(lotteryPhase); }
protected async Task <string> FindDrawNumberAsync(int lotteryId, int issueNumber) { LotteryPhase lotteryPhase = await FindLotteryPhaseAsync(lotteryId, issueNumber); return(lotteryPhase.DrawNumber); }
public Task UpdateLotteryPhase(LotteryPhase lotteryPhase) { throw new NotImplementedException(); }