public EncounterQueryServices(ILoginServices loginServices, IExtendedEncounterRepository encounterRepository, IRepository <Sport> sportRepo, IRepository <Team> teamRepo, IRepository <User> userRepo, IRepository <Comment> commentRepo) { this.loginServices = loginServices; this.encounterRepository = encounterRepository; this.sportRepo = sportRepo; this.teamRepo = teamRepo; this.userRepo = userRepo; this.commentRepo = commentRepo; encounterMapper = new EncounterMapper(sportRepo, teamRepo, commentRepo); commentMapper = new CommentMapper(userRepo); }
public PositionServices(IExtendedEncounterRepository encounterRepo, IAssemblyLoader assemblyLoader) { this.encounterRepo = encounterRepo; this.assemblyLoader = assemblyLoader; SetupAssemblyLoader(); }