Beispiel #1
0
        public IActionResult PlayNext(string wordhash, string categoryhash, int result, int note, int time)
        {
            _gl.AddResult(wordhash, result, note, time);
            WordModel next = _gl.GetNextWord();

            if (next == null)
            {
                return(RedirectToAction("Browse"));
            }
            return(View("Play", next));
        }