示例#1
0
        public async Task <bool> CheckAnswer(string username, string answer)
        {
            try
            {
                var isAnswerCorrect = await _accountFacade.CheckAnswer(answer, username);

                return(isAnswerCorrect);
            }
            catch (Exception e)
            {
                Response.StatusCode = 500;
                return(false);
            }
        }