public RegattaService( ISeriesService seriesService, ISailScoresContext dbContext, IDbObjectBuilder dbObjBuilder, IMapper mapper) { _seriesService = seriesService; _dbContext = dbContext; _dbObjectBuilder = dbObjBuilder; _mapper = mapper; }
public SeriesService( IScoringCalculatorFactory scoringCalculatorFactory, IScoringService scoringService, IConversionService converter, IDbObjectBuilder dbObjBuilder, ISailScoresContext dbContext, IMapper mapper) { _scoringCalculatorFactory = scoringCalculatorFactory; _scoringService = scoringService; _converter = converter; _dbObjectBuilder = dbObjBuilder; _dbContext = dbContext; _mapper = mapper; }