public IEnumerable <EventoViewModel> Get()
 {
     return(_eventoAppService.ObterTodos());
 }
 public IActionResult Index()
 {
     return(View(_eventoAppService.ObterTodos()));
 }
Example #3
0
 public IActionResult Index() => View(_eventoAppService.ObterTodos());