public void BuidDropdowns() { var db = new BoardSquaresRepository(); db.GetGamesByUser(User.UserID).ForEach(c => GamesDropDown.Add(c, c)); }
public void GetGamesByUser() { var db = new BoardSquaresRepository(); UserGames = db.GetGamesByUser(User.UserID); }