// GET: Offres/Details/5 public ActionResult Details(int id) { try { var offreEtEmps = manager.GetOffreAvecEmployes(id); return(View("Details", new OffreAvecEmployes { Offre = offreEtEmps.Key, EmployesInteresses = offreEtEmps.Value, })); } catch (EntityNotFoundException) { return(View("Errors/Erreur404")); } }