Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
 // GET: Reclamation
 public ActionResult Index()
 {
     return(View(RS.GetAll()));
 }