// GET: Person
        public ActionResult List()
        {
            PeopleListVM     model     = new PeopleListVM();
            PersonRepository personRep = new PersonRepository();

            model.People = personRep.GetAll();

            return(View(model));
        }
Exemplo n.º 2
0
 public PeopleListView()
 {
     InitializeComponent();
     BindingContext = new PeopleListVM(Navigation);
 }