Advertisement
Guest User

Untitled

a guest
Nov 14th, 2016
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.23 KB | None | 0 0
  1. public ActionResult Grille()
  2. {
  3. var personnes = new List<Personne>
  4. {
  5. new Personne { Nom = "Jim", Age = 35, Email = "jim@mail.com" },
  6. new Personne { Nom = "Dwigth", Age = 38, Email = "Dwigth@mail.com" },
  7. new Personne { Nom = "Stanley", Age = 45, Email = "Stanley@mail.com" },
  8. new Personne { Nom = "Pam", Age = 33, Email = "Pam@mail.com" },
  9. new Personne { Nom = "Michael", Age = 39, Email = "Michael@mail.com" },
  10. new Personne { Nom = "Erin", Age = 28, Email = "Erin@mail.com" },
  11. new Personne { Nom = "Andy", Age = 38, Email = "Andy@mail.com" },
  12. new Personne { Nom = "Ryan", Age = 31, Email = "Ryan@mail.com" },
  13. new Personne { Nom = "Meredith", Age = 40, Email = "Meredith@mail.com" },
  14. new Personne { Nom = "Creed", Age = 49, Email = "Creed@mail.com" },
  15. new Personne { Nom = "Darryl", Age = 37, Email = "Darryl@mail.com" },
  16. };
  17.  
  18. return View(personnes);
  19. }
  20.  
  21.  
  22. /* [HttpGet]
  23. public ActionResult Edit()
  24. {
  25. r
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement