示例#1
0
        public ActionResult NextSnippet(int SnippetID, int EventID, string answer)
        {
            string userID = User.Identity.GetUserId();
            bool   res    = _snippetService.SubmitAnswer(userID, EventID, SnippetID, answer);

            return(RedirectToAction("Game", new { id = EventID }));
        }