/// <summary> /// Get History of games played by the specified player /// </summary> /// <param name="PlayerName"></param> /// <returns></returns> public async Task <IEnumerable <Game> > GetGamesHistory(string PlayerName) { var history = await _gameRepo.GetPlayersGames(PlayerName); return(history); }