public CadastrarLivroUseCase( ICadastroLivroRepository CadastroLivroRepository, CadastroLivroService CadastroLivroService, ICadastrarLivroSaidaPort CadastrarLivroSaidaPort, IUnitOfWork unitOfWork) { _CadastroLivroRepository = CadastroLivroRepository; _CadastroLivroService = CadastroLivroService; _CadastrarLivroSaidaPort = CadastrarLivroSaidaPort; _unitOfWork = unitOfWork; }
public CadastroLivroService(ICadastroLivroFactory CadastroLivroFactory, ICadastroLivroRepository CadastroLivroRepository) { _CadastroLivroFactory = CadastroLivroFactory; _CadastroLivroRepository = CadastroLivroRepository; }