Beispiel #1
0
 public IActionResult Index(string Name, string Country)
 {
     if (!String.IsNullOrEmpty(Name) || !String.IsNullOrEmpty(Country))
     {
         return(View(_CommandService.FindByName(Name)));
     }
     else
     {
         return(View(_CommandService.List()));
     }
 }