public ActionResult ListReport() { List <ReportModele> tl = new List <ReportModele>(); rs = new ReclamationService(); foreach (var item in rs.GetAll()) { ReportModele t = new ReportModele(); t.Id = item.Id; t.Sujet = item.Sujet; t.mail = item.mail; tl.Add(t); } return(View(tl)); }
// GET: Reclamation public ActionResult Index() { return(View(RS.GetAll())); }