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;
 }
Пример #4
0
 public DependenteController(IDependenteRepository repository)
 {
     this.repository = repository;
 }
Пример #5
0
 public DependenteController(IDependenteRepository repositorio) : base(repositorio)
 {
 }
Пример #6
0
 public DependenteDomainService(IDependenteRepository dependenteRepository)
 {
     this.dependenteRepository = dependenteRepository;
 }
Пример #7
0
 public DependenteService(IDependenteRepository dependenteRepository)
     : base(dependenteRepository)
 {
     _dependenteRepository = dependenteRepository;
 }
Пример #8
0
 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;
 }
Пример #12
0
 public DependenteController()
 {
     dependenteRepository  = new DependenteRepository();
     funcionarioRepository = new FuncionarioRepository();
 }
Пример #13
0
 public DependenteController()
 {
     //inicializando o atributo
     dependenteRepository  = new DependenteRepository();
     funcionarioRepository = new FuncionarioRepository();
 }
 public DependenteBusiness(IDependenteRepository repository) : base(repository)
 {
     this.repository = repository;
 }