示例#1
0
        public ActionResult Index()
        {
            List <StudentViewModel> studentList = _app.List().MapTo <IEnumerable <StudentViewModel> >().ToList();

            return(View(studentList));
        }