public TeamDomainModelImportService( TeamDomainService domainService, DataService dataService, IIntegerIdentityFactory <TeamEntity> teamEntityFactory, IMapperService mapperService, CarNumberDataEntitiesToCarNumbersObjectMapper carNumbersMapper) { _domainService = domainService ?? throw new ArgumentNullException(nameof(domainService)); _dataService = dataService ?? throw new ArgumentNullException(nameof(dataService)); _teamEntityFactory = teamEntityFactory ?? throw new ArgumentNullException(nameof(teamEntityFactory)); _mapperService = mapperService ?? throw new ArgumentNullException(nameof(mapperService)); _carNumbersMapper = carNumbersMapper ?? throw new ArgumentNullException(nameof(carNumbersMapper)); }
public SquadHandler(ISquadRepository squadRepository, TeamDomainService teamDomainService) { _squadRepository = squadRepository; _teamDomainService = teamDomainService; }