Esempio n. 1
0
        // GET: /<controller>/
        public async Task <IActionResult> Index()
        {
            var model   = new WorldModel();
            var session = await _userSessionManager.StartSession(User.Identity.Name, "World");

            model.UserSessionID = session.ID;
            return(View(model));
        }