Пример #1
0
        public ActionResult Index()
        {
            Agenda agenda = new Agenda();

            ViewBag.Message = agenda.MensagemInicial();

            var eventList = context.Eventos.ToList();
            return View(eventList);
        }
Пример #2
0
 public void TestSetup()
 {
     agenda = new Agenda();
 }