GestionActionsController.cs 542 B

12345678910111213141516171819202122
  1. using CD67.FicheCollege.Entity;
  2. using CD67.FicheCollege.Factory;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Linq;
  6. using System.Web;
  7. using System.Web.Mvc;
  8. namespace CD67.FicheCollege.MVC.Controllers
  9. {
  10. public class GestionActionsController : Controller
  11. {
  12. private Entities db = new Entities();
  13. // GET: GestionActions
  14. public ActionResult Index()
  15. {
  16. CollegeFactory collegeFactory = new CollegeFactory(db);
  17. return View(collegeFactory.getAll());
  18. }
  19. }
  20. }