public InvitationWriteCommand( IAlienRepository alienRepository, IEmployeeRepository employeeRepository, IInvitationRepository invitationRepository, IVisitDetailRepository visitDetailRepository, AlienWriteCommand alienWriteCommand, DomainContext domainContext) { _alienRepository = alienRepository; _employeeRepository = employeeRepository; _invitationRepository = invitationRepository; _visitDetailRepository = visitDetailRepository; _alienWriteCommand = alienWriteCommand; _domainContext = domainContext; }
public AlienService( IContactService contactService, IPassportService passportService, IOrganizationService organizationService, IStateRegistrationService stateRegistrationService, IAlienRepository alienRepository) { Contract.Argument.IsNotNull(contactService, nameof(contactService)); Contract.Argument.IsNotNull(passportService, nameof(passportService)); Contract.Argument.IsNotNull(organizationService, nameof(organizationService)); Contract.Argument.IsNotNull(stateRegistrationService, nameof(stateRegistrationService)); Contract.Argument.IsNotNull(alienRepository, nameof(alienRepository)); _contactService = contactService; _passportService = passportService; _organizationService = organizationService; _stateRegistrationService = stateRegistrationService; _alienRepository = alienRepository; }
public AlienReadCommand( IAlienRepository alienRepository, IReadCommand <ContactResult> contactReadCommand, IReadCommand <PassportResult> passportReadCommand, IReadCommand <OrganizationResult> organizationReadCommand, IReadCommand <StateRegistrationResult> stateRegistrationReadCommand) { Contract.Argument.IsNotNull(alienRepository, nameof(alienRepository)); Contract.Argument.IsNotNull(contactReadCommand, nameof(contactReadCommand)); Contract.Argument.IsNotNull(passportReadCommand, nameof(passportReadCommand)); Contract.Argument.IsNotNull(organizationReadCommand, nameof(organizationReadCommand)); Contract.Argument.IsNotNull(stateRegistrationReadCommand, nameof(stateRegistrationReadCommand)); _alienRepository = alienRepository; _contactReadCommand = contactReadCommand; _passportReadCommand = passportReadCommand; _organizationReadCommand = organizationReadCommand; _stateRegistrationReadCommand = stateRegistrationReadCommand; }
public AlienController(IAlienRepository productRepository) { this.alienRepo = productRepository; }
public ViewAlienResponses ViewAlien(string name) { IAlienRepository repo = RepositoryFactory.CreateAlienRepo(); }
public CheckService(ICheckRepository checkRepository, IAlienRepository alienRepository, IEstabelecimentoRepository estabelecimentoRepository) { _checkRepository = checkRepository; _alienRepository = alienRepository; _estabelecimentoRepository = estabelecimentoRepository; }
public AlienServiceTest() { _alienRepository = Substitute.For <IAlienRepository>(); _alienService = new AlienService(_alienRepository); }
public AlienService(IAlienRepository alienRepository) { _alienRepository = alienRepository; }