Beispiel #1
0
        public ViewResult Index()
        {
            HomeIndexViewModel homeIndexViewModel = new HomeIndexViewModel()
            {
                pagetitle = "Hey, it's Andy!",
                name      = _info.getName(),
                email     = _info.getEmail()
            };

            return(View(homeIndexViewModel));
        }