Esempio n. 1
0
 public IActionResult Index(string Name)
 {
     if (!String.IsNullOrEmpty(Name))
     {
         return(View(_ChampionshipService.FindByName(Name)));
     }
     else
     {
         return(View(_ChampionshipService.List()));
     }
 }