public ActionResult Index() { List <Person> persons = new List <Person>(); persons = _person.GetList(); return(View(Automapper.GetGeneric <List <Person>, List <PersonModelView> >(persons))); }