public IViewComponentResult Invoke() { var allFalls = fallsRepository.FindAll(); return(View(allFalls)); }
public IActionResult Index() { var list = fallsRepository.FindAll().ToList(); return(View(list)); }