Пример #1
0
        protected async Task <LotteryPhase> FindLotteryPhaseAsync(int lotteryId, int issueNumber)
        {
            ILotteryPhaseApplicationService lotteryPhaseApplicationService = IocResolver.GetRequiredService <ILotteryPhaseApplicationService>();
            LotteryPhase lotteryPhase = await lotteryPhaseApplicationService.FindLotteryPhase(lotteryId, issueNumber);

            return(lotteryPhase);
        }
Пример #2
0
        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();
 }