Exemplo n.º 1
0
 public IEnumerable<Match> GetBySeasonAndDate(string seasonId, DateTime matchDay)
 {
     using (var matchRepository = new RepositoryFactory().CreateMatchRepository())
      {
     var matches = matchRepository.GetBySeasonAndMatchDay(seasonId, matchDay);
     return matches;
      }
 }