Exemplo n.º 1
0
        public IActionResult PopupContact(int id)
        {
            List <System.Security.Claims.Claim> c = User.Claims.Where(x => x.Type.Contains("mail")).ToList();
            string email = c[0].Value;

            ViewData["ActionID"] = id;
            return(PartialView("_ContactList", context.GetAllUsers(email)));
        }