public AtualizarLivroUseCase(IMapper mapper, INotificador notificador, ILivroRepository livroRepository, IBuscarEditoraPorIdUseCase buscarEditoraUseCase, IBuscarAutorPorIdUseCase buscarAutorUseCase) { _mapper = mapper; _notificador = notificador; _livroRepository = livroRepository; _buscarEditoraUseCase = buscarEditoraUseCase; _buscarAutorUseCase = buscarAutorUseCase; }
public EditorasController(IInserirEditoraUseCase inserirEditoraUseCase, IBuscarEditoraPorIdUseCase buscarEditoraPorIdUseCase, IResponseFormatter formatter, IListarEditorasUseCase listarEditorasUseCase, IAtualizarEditoraUseCase atualizarEditoraUseCase, IExcluirEditoraUseCase excluirEditoraUseCase) { _inserirEditoraUseCase = inserirEditoraUseCase; _buscarEditoraPorIdUseCase = buscarEditoraPorIdUseCase; _formatter = formatter; _listarEditorasUseCase = listarEditorasUseCase; _atualizarEditoraUseCase = atualizarEditoraUseCase; _excluirEditoraUseCase = excluirEditoraUseCase; }