Esempio n. 1
0
        public ActionResult List()
        {
            List <Quote> quotes;

            using (var qm = new QuoteManager())
            {
                quotes = qm.All().ToList();
            }

            ViewBag.Quotes = quotes;
            return(View("QuoteList"));
        }