public ForeignParticipantReadCommand( IForeignParticipantRepository foreignParticipantRepository) { Contract.Argument.IsNotNull(foreignParticipantRepository, nameof(foreignParticipantRepository)); _foreignParticipantRepository = foreignParticipantRepository; }
public ForeignParticipantService( IPassportService passportService, IForeignParticipantRepository foreignParticipantRepository) { Contract.Argument.IsNotNull(passportService, nameof(passportService)); Contract.Argument.IsNotNull(foreignParticipantRepository, nameof(foreignParticipantRepository)); _passportService = passportService; _foreignParticipantRepository = foreignParticipantRepository; }
public ForeignParticipantReadCommand( IForeignParticipantRepository foreignParticipantRepository, IReadCommand <PassportResult> passportReadCommand) { Contract.Argument.IsNotNull(foreignParticipantRepository, nameof(foreignParticipantRepository)); Contract.Argument.IsNotNull(passportReadCommand, nameof(passportReadCommand)); _foreignParticipantRepository = foreignParticipantRepository; _passportReadCommand = passportReadCommand; }
public InvitationRepository( IAlienRepository alienRepository, IVisitDetailRepository visitDetailRepository, IForeignParticipantRepository foreignParticipantRepository, DomainContext domainContext) { _alienRepository = alienRepository; _visitDetailRepository = visitDetailRepository; _foreignParticipantRepository = foreignParticipantRepository; _domainContext = domainContext; }