Exemplo n.º 1
0
        public IActionResult Index(Indexviewmodel model)
        {
            InfoHandler a = new InfoHandler(_userManager, _signInManager, _userDateTime);

            a.Totallogin(_userManager.GetUserId(User), model);
            a.Datelogin(_userManager.GetUserId(User), model);
            a.unReadmsg(_userManager.GetUserId(User), model);
            return(View(model));
        }