Пример #1
0
        /// <summary>Loads the specified player by their id.</summary>
        /// <param name="playerId">The player's id.</param>
        public void Load(int playerId)
        {
            var repository = new RelationalRepository <PlayerRecord>();

            this.PlayerData = repository.GetById(playerId);
        }