Exemple #1
0
        public ContratoController(IContratoService contratoService,
                                  IClienteService clienteService,
                                  IAlocacaoService alocacaoService,
                                  IProfissionalService profissionalService)
        {
            _contratoService     = contratoService;
            _clienteService      = clienteService;
            _alocacaoService     = alocacaoService;
            _profissionalService = profissionalService;

            _contratoMapper     = new AutoMapperContrato();
            _alocacaoMaper      = new AutoMapperAlocacao();
            _profissionalMapper = new AutoMapperProfissional();
        }
Exemple #2
0
 public AcompanhamentoDiarioController(IClienteService clienteService,
                                       IContratoService contratoService,
                                       IProfissionalService profissionalService,
                                       IRelatorioService relatorioService)
 {
     _clienteService      = clienteService;
     _contratoService     = contratoService;
     _profissionalService = profissionalService;
     _relatorioService    = relatorioService;
     _contratoMapper      = new AutoMapperContrato();
     _clienteMapper       = new AutoMapperCliente();
     _profissionalMapper  = new AutoMapperProfissional();
     _filtrosMapper       = new AutoMapperAcompanhamentoDiario();
 }