Пример #1
0
        public ActionResult ObterTodos()
        {
            _repTime = new Rep.TimeRepositorio();

            ModelState.Clear();
            return(View(_repTime.ObterTimes()));
        }
Пример #2
0
 public ActionResult EditarTime(int id)
 {
     _repTime = new Rep.TimeRepositorio();
     return(View(_repTime.ObterTimes().Find(t => t.id == id)));
 }