public ForeignParticipantReadCommand(
            IForeignParticipantRepository foreignParticipantRepository)
        {
            Contract.Argument.IsNotNull(foreignParticipantRepository, nameof(foreignParticipantRepository));

            _foreignParticipantRepository = foreignParticipantRepository;
        }
Ejemplo n.º 2
0
        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;
        }
Ejemplo n.º 4
0
 public InvitationRepository(
     IAlienRepository alienRepository,
     IVisitDetailRepository visitDetailRepository,
     IForeignParticipantRepository foreignParticipantRepository,
     DomainContext domainContext)
 {
     _alienRepository              = alienRepository;
     _visitDetailRepository        = visitDetailRepository;
     _foreignParticipantRepository = foreignParticipantRepository;
     _domainContext = domainContext;
 }