An example showing an auto-generated table using the public view model properties.
Id | First | Last | Birth Date | Favorite Color | Full Name | |
---|---|---|---|---|---|---|
91 | Willa | Madden | 1970-09-08 | risus.quis.diam@fames.org | Willa Madden | |
92 | Lee | Benson | 1992-07-16 | enim.gravida.sit@quisaccumsan.ca | Lee Benson | |
93 | Imogene | Knowles | 1987-01-22 | ut.nulla.cras@arcu.org | Imogene Knowles | |
94 | Dominique | Mcmillan | 1997-06-10 | nunc.nulla@lacus.edu | Dominique Mcmillan | |
95 | Kellie | Gill | 1994-11-26 | praesent.luctus@ipsumdolorsit.edu | Kellie Gill | |
96 | Jael | Bennett | 1967-12-27 | ligula.nullam.feugiat@vulputate.net | Jael Bennett | |
97 | Arden | Glenn | 1975-06-18 | eu.enim@necleomorbi.com | Arden Glenn | |
98 | Alice | Levy | 1966-12-04 | non@est.net | Alice Levy | |
99 | Bert | Santos | 1995-09-09 | augue.eu.tempor@dolor.ca | Bert Santos | |
100 | Azalia | Stark | 1956-06-14 | ultricies.dignissim@nibhphasellusnulla.ca | Azalia Stark |
Markup
@model IPagedList<BasicPersonView> <table class="table" asp-for="@Model" />