public IActionResult Index() { var liste = GerichtService.All(); var vm = new GerichtServiceIndexViewModel { Alle = liste }; return(View(vm)); }
public IActionResult Index() { var liste = GerichtService.All(); var vm = new IndexViewModel { Random = GerichtService.Random(), Alle = liste, Tags = TagService.All(), Filter = new FilterSettings() }; return(View(vm)); }