public IActionResult Index()
        {
            var model = new IndexViewModel();

            model.Players = _repo.GetPlayers();
            return(View(model));
        }
Beispiel #2
0
 public IEnumerable <Player> GetPLayers()
 {
     return(_repo.GetPlayers());
 }