Beispiel #1
0
        public ScoreModel getScore(int id)
        {
            ScoreDataService scoreDS = new ScoreDataService();
            ScoreModel       score   = scoreDS.Read(id);

            AccountDataService accountDS = new AccountDataService();

            score.UserName = accountDS.Read(score.UserId).UserName;

            return(score);
        }