Exemple #1
0
        public IActionResult Action(int sessionId, int referenceNumber)
        {
            BoBAction action = _bobSessionRepository.GetAction(sessionId, HttpContext.Session.GetInt32("referenceNumber").Value);

            if (action == null)
            {
                return(RedirectToAction("Index"));
            }
            return(View(action));
        }
        public IActionResult Action(int sessionId, int referenceNumber)
        {
            BoBAction action = _bobSessionRepository.GetAction(sessionId, referenceNumber);

            return(View(action));
        }