Пример #1
0
        public ViewResult Index()
        {
            //    User result = _userDatabase.GetUser(1);
            //    return new ObjectResult(result);
            IEnumerable <User> allUsers = _userDatabase.GetAllUsers();

            return(View("ViewAllUsers", allUsers));
        }