Example #1
0
 public EncounterDtoMapper(ITeamRepository teamsRepo, IEncounterRepository encountersRepo, ISportRepository sportsRepository)
 {
     teamsStorage      = teamsRepo;
     encountersStorage = encountersRepo;
     sportsStorage     = sportsRepository;
     resultMapper      = new ResultDtoMapper(teamsRepo);
     factory           = new EncounterFactory();
 }
Example #2
0
 public EncounterDtoMapper()
 {
     factory      = new EncounterFactory();
     resultMapper = new ResultDtoMapper();
 }