public DependentesController(ILogger logger, IDependenteRepository dependenteRepository, IFuncionarioRepository funcionarioRepository, IMapper mapper, IDependenteService dependenteService, INotificador notificador) : base(notificador) { _logger = logger; _dependenteRepository = dependenteRepository; _funcionarioRepository = funcionarioRepository; _mapper = mapper; _dependenteService = dependenteService; }
public DependenteDomainService(IDependenteRepository dependenteRepository, IFuncionarioRepository funcionarioRepository) : base(dependenteRepository) { this.dependenteRepository = dependenteRepository; this.funcionarioRepository = funcionarioRepository; }
public DependenteController(IDependenteRepository DependenteRepository) { _dependenteRepository = DependenteRepository; }
public DependenteController(IDependenteRepository repository) { this.repository = repository; }
public DependenteController(IDependenteRepository repositorio) : base(repositorio) { }
public DependenteDomainService(IDependenteRepository dependenteRepository) { this.dependenteRepository = dependenteRepository; }
public DependenteService(IDependenteRepository dependenteRepository) : base(dependenteRepository) { _dependenteRepository = dependenteRepository; }
public DependenteController(IDependenteRepository dependenteRepository) { this._repository = dependenteRepository; }
//construtor para injeção de dependência (inicialização) public DependenteDomainService(IDependenteRepository dependenteRepository, IClienteRepository clienteRepository) : base(dependenteRepository) { this.dependenteRepository = dependenteRepository; this.clienteRepository = clienteRepository; }
//construtor para injeção de dependência public DependenteDomainService(IDependenteRepository repository) : base(repository) //chamada ao construtor da superclasse { this.repository = repository; }
public DependenteService(IDependenteRepository dependenteRepository) { _dependenteRepository = dependenteRepository; }
public DependenteController() { dependenteRepository = new DependenteRepository(); funcionarioRepository = new FuncionarioRepository(); }
public DependenteController() { //inicializando o atributo dependenteRepository = new DependenteRepository(); funcionarioRepository = new FuncionarioRepository(); }
public DependenteBusiness(IDependenteRepository repository) : base(repository) { this.repository = repository; }