Esempio n. 1
0
        public ActionResult Index()
        {
            var claimsIdentity = (ClaimsIdentity)this.User.Identity;
            var claim          = claimsIdentity.FindFirst(System.Security.Claims.ClaimTypes.NameIdentifier);
            var userId         = claim.Value;

            return(View(_expenseRepository.GetAllActivePerUser(userId)));
        }