Esempio n. 1
0
        public IActionResult Details(string id)
        {
            var model = new AdminViewModel();

            model.UserComments = _commentData.GetCommentsForUser(id).ToList();
            model.UserEamil    = _admin.UserDetails(id).Email;
            model.Username     = _admin.UserDetails(id).UserName;

            return(View(model));
        }