Esempio n. 1
0
 public IEnumerable<Match> GetBySeasonAndTeam(string seasonId, string teamId)
 {
     using (var matchRepository = new RepositoryFactory().CreateMatchRepository())
      {
     var matches = matchRepository.GetBySeasonAndTeam(seasonId, teamId).OrderBy(match => match.Date);
     return matches;
      }
 }