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(); }
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(); }