public ProfessorService(IProfessorRepository professorRepository, INotificator notificator, ICursoRepository cursoRepository, IEnderecoRepository enderecoRepository) : base(professorRepository, notificator) { _professorRepository = professorRepository; _cursoRepository = cursoRepository; _enderecoRepository = enderecoRepository; }
public FornecedorService(IFornecedorRepository fornecedorRepository, IEnderecoRepository enderecoRepository, INotificador notificador) : base(notificador) { _fornecedorRepository = fornecedorRepository; _enderecoRepository = enderecoRepository; }
public PacienteService(IPacienteRepository pacienteRepository, IEnderecoRepository enderecoRepository, IAgendamentoRepository agendamentoRepository, IConsultaRepository consultaRepository) { this.pacienteRepository = pacienteRepository; this.enderecoRepository = enderecoRepository; this.agendamentoRepository = agendamentoRepository; this.consultaRepository = consultaRepository; }
public FuncionarioService(IFuncionarioRepository funcionarioRepository, IEnderecoRepository enderecoRepository, INotificador notificador) : base(notificador) { _funcionarioRepository = funcionarioRepository; _enderecoRepository = enderecoRepository; }
public ParticipanteController(IParticipanteRepository participanteRepository, IParticipanteSorteioRepository participanteSorteioRepository, IEnderecoRepository enderecoRepository) { ParticipanteRepository = participanteRepository; ParticipanteSorteioRepository = participanteSorteioRepository; EnderecoRepository = enderecoRepository; }
public ClienteController(IAcessoRepository acessoRepository, IUsuarioRepository usuarioRepository, IClienteRepository clienteRepository, IEnderecoRepository enderecoRepository) { _acessoRepository = acessoRepository; _usuarioRepository = usuarioRepository; _clienteRepository = clienteRepository; _enderecoRepository = enderecoRepository; }
public ConsultorCommandHandler( IOptions <ServiceManager> serviceManager, IHttpAppService httpAppService, IOnboardingRepository onboardingRepository, IConsultorRepository consultorRepository, IDadosBancariosRepository dadosBancariosRepository, IEnderecoRepository enderecoRepository, IRepresentanteRepository representanteRepository, IRepresentanteEmailRepository representanteEmailRepository, IRepresentanteTelefoneRepository representanteTelefoneRepository, ILogger <ConsultorCommandHandler> logger, IUnitOfWork uow, IMediatorHandler bus, INotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications) { _serviceManager = serviceManager.Value; _httpAppService = httpAppService; _onboardingRepository = onboardingRepository; _consultorRepository = consultorRepository; _dadosBancariosRepository = dadosBancariosRepository; _enderecoRepository = enderecoRepository; _representanteRepository = representanteRepository; _representanteEmailRepository = representanteEmailRepository; _representanteTelefoneRepository = representanteTelefoneRepository; _logger = logger; }
public EnderecoController(IMapper mapper, IEnderecoRepository enderecoRepository, IEnderecoService enderecoService, INotificador notificador) { _enderecoRepository = enderecoRepository; _mapper = mapper; _enderecoService = enderecoService; _notificador = notificador; }
public MainSeed(ConsultaContext contexto) { this.beneficiarioRepository = new BeneficiarioRepository(contexto); beneficiarioRepository.ClearAsync().Wait(); this.cidadeRepository = new CidadeRepository(contexto); cidadeRepository.ClearAsync().Wait(); this.consultaRepository = new ConsultaRespository(contexto); consultaRepository.ClearAsync().Wait(); this.enderecoRepository = new EnderecoRepository(contexto); enderecoRepository.ClearAsync().Wait(); this.especialidadeRepository = new EspecialidadeRepository(contexto); especialidadeRepository.ClearAsync().Wait(); this.estadoRepository = new EstadoRepository(contexto); estadoRepository.ClearAsync().Wait(); this.medicoRepository = new MedicoRepository(contexto); medicoRepository.ClearAsync().Wait(); }
public AdicionarEnderecoCommandHandler(INotificationContext notificationContext , IUnitOfWork uow , IEnderecoRepository repo , IMapper mapper) : base(notificationContext, uow, mapper) { _repo = repo; }
public ContatoService(IContatoRepository contatoRepository, IEnderecoRepository enderecoRepository, INotificador notificador) : base(notificador) { _contatoRepository = contatoRepository; _enderecoRepository = enderecoRepository; }
public ViagemService(IViagemRepository fornecedorRepository, IEnderecoRepository enderecoRepository, INotificador notificador, IUnitOfWork uow) : base(notificador, uow) { _viagemRepository = fornecedorRepository; _enderecoRepository = enderecoRepository; }
public PessoaRepository(RouteContext context) : base(context) { enderecoRepository = new EnderecoRepository(Context); telefoneRepository = new TelefoneRepository(Context); emailRepository = new EmailRepository(Context); agendaRepository = new AgendaRepository(Context); }
public ClienteService(IClienteRepository clienteRepository, IEnderecoRepository enderecoRepository, INotificador notificador) : base(notificador) { _clienteRepository = clienteRepository; _enderecoRepository = enderecoRepository; }
public FuncionarioService(IFuncionarioRepository funcionarioRepository, IUsuarioRepository usuarioRepository, IEnderecoRepository enderecoRepository) { _funcionarioRepository = funcionarioRepository; _enderecoRepository = enderecoRepository; _usuarioRepository = usuarioRepository; }
public FornecedoresController(IFornecedorRepository fornecedorRepository, IMapper mapper, IFornecedorService fornecedorService, INotificador notificador, IEnderecoRepository enderecoRepository) : base(notificador) { _fornecedorRepository = fornecedorRepository; _mapper = mapper; _fornecedorService = fornecedorService; _enderecoRepository = enderecoRepository; }
public FornecedoresController(IFornecedorRepository fornecedorRepository, IMapper mapper, IEnderecoRepository enderecoRepository) { _fornecedorRepository = fornecedorRepository; _enderecoRepository = enderecoRepository; _mapper = mapper; }
public GeocodeService(IFlurlClientFactory flurlClientFac, IEnderecoRepository enderecoRepository, IGeoLocationRepository geoLocationRepository) { this._flurlClient = flurlClientFac.Get(_URL); this._enderecoRepository = enderecoRepository; this._geoLocationRepository = geoLocationRepository; }
public EnderecoService(IEnderecoRepository enderecoRepository, IMapper mapper, IUnitOfWork uow) { _enderecoRepository = enderecoRepository; _mapper = mapper; _uow = uow; }
public IEnderecoRepository EnderecoRepository() { if (_enderecoRepository == null) { _enderecoRepository = new EnderecoRepository(_conn, _trans); } return(_enderecoRepository); }
public AgenciaService(IEnderecoRepository enderecorepository, IAgenciaRepository agenciarepository, IAgenciaUsuarioRepository agenciausuariorepository, IClaimsRepository claimsRepository) { _enderecorepository = enderecorepository; _agenciarepository = agenciarepository; _agenciausuariorepository = agenciausuariorepository; _claimrepository = claimsRepository; }
public ImovelService(IImovelRepository imovelRepository, IImovel_ProprietarioRepository imovel_ProprietarioRepository, IEnderecoRepository enderecoRepository, IImovelDetalheBaseValorRepository imovelDetalheBaseValorRepository, IProprietarioRepository proprietarioRepository) { _imovelRepository = imovelRepository; _imovel_ProprietarioRepository = imovel_ProprietarioRepository; _enderecoRepository = enderecoRepository; _imovelDetalheBaseValorRepository = imovelDetalheBaseValorRepository; _proprietarioRepository = proprietarioRepository; }
public EnderecosController(IEnderecoRepository enderecoRepository, INotificador notificador, IMapper mapper) : base(notificador) { _enderecoRepository = enderecoRepository; _notificador = notificador; _mapper = mapper; }
public UsuarioHandler(IUsuarioRepository usuarioRepository, IClienteRepository clienteRepository, IEnderecoRepository enderecoRepository, IOperadorRepository operadorRepository) { _usuarioRepository = usuarioRepository; _clienteRepository = clienteRepository; _enderecoRepository = enderecoRepository; _operadorRepository = operadorRepository; }
public EnderecoCommandHandler(IEnderecoRepository enderecoRepository, IUnitOfWork uow, IBus bus, IDomainNotificationHandler <DomainNotification> notifications) : base(uow, bus, notifications) { _enderecoRepository = enderecoRepository; Bus = bus; }
public FornecedorServiceTests() { _fornecedorRepositoryMock = Substitute.For <IFornecedorRepository>(); _enderecoRepositoryMock = Substitute.For <IEnderecoRepository>(); _notificador = new Notificador(); _sut = new FornecedorService(_fornecedorRepositoryMock, _enderecoRepositoryMock, _notificador); }
public ClienteService(IClienteRepository clienteRepository, IEnderecoRepository enderecoRepository, ITelefoneRepository telefoneReposository ) { _telefoneRepository = telefoneReposository; _clienteRepository = clienteRepository; _enderecoRepository = enderecoRepository; }
public PedidoTests(DbFixture fixture) { var serviceProvider = fixture.ServiceProvider; _repository = serviceProvider.GetService <IPedidoRepository>(); _repositoryProduto = serviceProvider.GetService <IProdutoRepository>(); _repositoryEndereco = serviceProvider.GetService <IEnderecoRepository>(); _repositoryCliente = serviceProvider.GetService <IClienteRepository>(); }
public PedidoController() { pedidoRepository = new PedidoRepository(); clienteRepository = new ClienteRepository(); enderecoRepository = new EnderecoRepository(); tipoEntregaRepository = new TipoEntregaRepository(); tipoPagamentoRepository = new TipoPagamentoRepository(); usuarioRepository = new UsuarioRepository(); }
public RegistroController(ILoginRepository loginRepository, IPrestadorRepository prestadorRepository, IEmpresaRepository empresaRepository, IConsumidorRepository consumidorRepository, IEnderecoRepository enderecoRepository) { _loginRepository = loginRepository; _empresaRepository = empresaRepository; _prestadorRepository = prestadorRepository; _consumidorRepository = consumidorRepository; _enderecoRepository = enderecoRepository; }
public PessoaService(IEnderecoRepository enderecoRepository, IEstadoCivilRepository estadoCivilRepository, IEstadoRepository estadoRepository, IMeioComunicacaoRepository meioComunicacaoRepository, IPessoaRepository pessoaRepository, IPessoaFisicaRepository pessoaFisicaRepository, IPessoaJuridicaRepository pessoaJuridicaRepository, IPapelRepository papelRepository) { _enderecoRepository = enderecoRepository; _estadoCivilRepository = estadoCivilRepository; _estadoRepository = estadoRepository; _meioComunicacaoRepository = meioComunicacaoRepository; _papelRepository = papelRepository; _pessoaRepository = pessoaRepository; _pessoaFisicaRepository = pessoaFisicaRepository; _pessoaJuridicaRepository = pessoaJuridicaRepository; }
public EnderecoService(IEnderecoRepository enderecoRepository) { _enderecoRepository = enderecoRepository; }