// GET: Admin
        public ActionResult Index()
        {
            var user = UserManager.FindById(User.Identity.GetUserId());

            IEnumerable <CustomDBUser> users = SQLController.adminListUsersAndRoles(user.Id);

            return(View(users));
        }
        public ActionResult UserInfo(string userID)
        {
            var user = UserManager.FindById(userID);

            var roles = SQLController.adminListRoles();

            CustomDBUser userInfo = SQLController.adminGetUserInfo(userID);

            ViewData.Add("user", userInfo);
            ViewData.Add("roles", roles);
            ViewData.Add("portfolios", _PortfolioRepository.GetPortfolios(user.CustomerID));


            return(PartialView("_PartialUserInfo", userInfo));
        }
        public string UpdateUser(CustomDBUser userInfo)
        {
            string success = SQLController.adminUpdateUserInfo(userInfo);

            return(JsonConvert.SerializeObject(success));
        }