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