public OrcamentoController(IOrcamentoRepository business, Resposta <CamposOrcamento> response, IHttpContextAccessor _acessor, IConfiguration config) { this.response = response; this.business = business; this._config = config; this.chaveAPI = _acessor.HttpContext.Request.Headers["ChaveAPI"].ToString(); }
public RelatorioAppService( ILancamentoRepository lancamentoRepository, IOrcamentoRepository orcamentoRepository, ILancamentoAppService lancamentoAppService) { this.lancamentoRepository = lancamentoRepository; this.orcamentoRepository = orcamentoRepository; this.lancamentoAppService = lancamentoAppService; }
public MaterialAppService(IMaterialRepository MaterialRepository, IOrcamentoRepository orcamentoRepository, ICentroCustoRepository centroCustoRepository, MessageQueue messageQueue) : base(messageQueue) { this.materialRepository = MaterialRepository; this.orcamentoRepository = orcamentoRepository; this.centroCustoRepository = centroCustoRepository; }
public OrcamentoAppService( IUnitOfWork unitOfWork, IOrcamentoRepository orcamentoRepository, IUsuarioRepository usuarioRepository) { this.unitOfWork = unitOfWork; this.orcamentoRepository = orcamentoRepository; this.usuarioRepository = usuarioRepository; this.orcamentoValidator = new OrcamentoValidator(); }
public CadastroServices(IClienteRepository clienteDAO, IFuncionarioRepository funcionarioDAO, ICarroRepository carroDAO, IServicoRepository servicoDAO, IMaoDeObraRepository maoDeObraDAO, IEnderecoRepository enderecoDAO, IEmailRepository emailDAO, IOrcamentoRepository orcamentoDAO) { ClienteDAO = clienteDAO; FuncionarioDAO = funcionarioDAO; CarroDAO = carroDAO; ServicoDAO = servicoDAO; MaoDeObraDAO = maoDeObraDAO; EnderecoDAO = enderecoDAO; EmailDAO = emailDAO; OrcamentoDAO = orcamentoDAO; }
public OrcamentoService(IOrcamentoRepository baseRepository, ILogRepository logRepository, ITipoProcedimentoRepository procRepository, IOrcamentoAnexoRepository anexoRepository, IOrcamentoAcompanhamentoRepository acomRepository, IOrcamentoItemRepository itemRepository, ISubProcedimentoRepository subRepository, IDenteRegiaoRepository regRepository) : base(baseRepository) { _baseRepository = baseRepository; _logRepository = logRepository; _procRepository = procRepository; _anexoRepository = anexoRepository; _acomRepository = acomRepository; _itemRepository = itemRepository; _subRepository = subRepository; _regRepository = regRepository; }
public CompraController(ICompraRepository compraRepository, IStatusRepository statusRepository, IUsuarioRepository usuarioRepository, ICategoriaRepository categoriaRepository, IOrcamentoRepository orcamentoRepository) { _orcamentoRepository = orcamentoRepository; _statusRepository = statusRepository; _usuarioRepository = usuarioRepository; _compraRepository = compraRepository; _categoriaRepository = categoriaRepository; }
public ComprasController(IComprasRepository compras, IStatusRepository status, IUsuarioRepository usuario, ICategoriaRepository categoria, IOrcamentoRepository orcamento, IBaseValida baseValida, IPerfilRepository perfil) { _perfilRepository = perfil; _comprasRepository = compras; _statusRepository = status; _usuarioRepository = usuario; _categoriaRepository = categoria; _orcamentoRepository = orcamento; _baseValida = baseValida; }
public OrcamentoAppService(IOrcamentoRepository orcamentoRepository, IParametrosOrcamentoRepository parametrosOrcamentoRepository, ICentroCustoRepository centroCustoRepository, ICotacaoValoresRepository cotacaoValoresRepository, IIndiceFinanceiroRepository indiceFinanceiroRepository, MessageQueue messageQueue) : base(messageQueue) { this.orcamentoRepository = orcamentoRepository; this.parametrosOrcamentoRepository = parametrosOrcamentoRepository; this.centroCustoRepository = centroCustoRepository; this.cotacaoValoresRepository = cotacaoValoresRepository; this.indiceFinanceiroRepository = indiceFinanceiroRepository; }
public OrcamentoService(IOrcamentoRepository orcamentoRepository, MetodosGenericosService metodosGenericosService, PessoaService pessoaService, ItensOrcamentoGeralService itensOrcamentoGeralService, MaoObraOrcamentoService maoObraOrcamentoService, EquipamentoOrcamentoService equipamentoOrcamentoService, MaterialOrcamentoService materialOrcamentoService, CustoOrcamentoService custoOrcamentoService, TotaisOrcamentoRepository totaisOrcamentoRepository) { this.OrcamentoRepository = orcamentoRepository; this.MetodosGenericosService = metodosGenericosService; this.PessoaService = pessoaService; this.ItensOrcamentoGeralService = itensOrcamentoGeralService; this.MaoObraOrcamentoService = maoObraOrcamentoService; this.EquipamentoOrcamentoService = equipamentoOrcamentoService; this.MaterialOrcamentoService = materialOrcamentoService; this.CustoOrcamentoService = custoOrcamentoService; this.TotaisOrcamentoRepository = totaisOrcamentoRepository; }
//Construtor public CategoriaValidator( ICategoriaRepository categoriaRepository, IDespesaRepository despesaRepository, ILancamentoRepository lancamentoRepository, IOrcamentoRepository orcamentoRepository) { this.categoriaRepository = categoriaRepository; this.despesaRepository = despesaRepository; this.lancamentoRepository = lancamentoRepository; this.orcamentoRepository = orcamentoRepository; RuleSet("Cadastro", () => { UsuarioIdObrigatorio(); NomeObrigatorio(); TipoObrigatorio(); NomeTamanhoInvalido(); TipoTamanhoInvalido(); NomeNaoDuplicado(); }); RuleSet("Edicao", () => { IdObrigatorio(); UsuarioIdObrigatorio(); NomeObrigatorio(); TipoObrigatorio(); NomeTamanhoInvalido(); TipoTamanhoInvalido(); NomeNaoDuplicado(); UsuarioCadastroValido(); }); RuleSet("Exclusao", () => { IdValidoExistente(); UsuarioCadastroValido(); CategoriasVinculadas(); DespesasVinculadas(); LancamentosVinculados(); OrcamentosVinculados(); }); }
public CategoriaAppService( IUnitOfWork unitOfWork, ICategoriaRepository categoriaRepository, IDespesaRepository despesaRepository, ILancamentoRepository lancamentoRepository, IOrcamentoRepository orcamentoRepository) { this.unitOfWork = unitOfWork; this.categoriaRepository = categoriaRepository; this.despesaRepository = despesaRepository; this.lancamentoRepository = lancamentoRepository; this.orcamentoRepository = orcamentoRepository; this.categoriaValidator = new CategoriaValidator( categoriaRepository, despesaRepository, lancamentoRepository, orcamentoRepository); }
public OrcamentoServices(IOrcamentoRepository orcamentoRepository, IMapper mapper) { _orcamentoRepository = orcamentoRepository; _mapper = mapper; }
public OrcamentoController(IOrcamentoRepository orcamentoRepository) { _orcamentoRepository = orcamentoRepository; }
public OrcamentosController(IOrcamentoRepository orcamentoRepository, IMapper mapper) { _mapper = mapper; _contexto = orcamentoRepository; }
public OrcamentoService(IOrcamentoRepository orcamentoRepository , INotificador notificador) : base(notificador) { _orcamentoRepository = orcamentoRepository; }
public void Inicializa() { repositoryMock = new Mock <IOrcamentoRepository>(); repository = repositoryMock.Object; }
public OrcamentoService(IOrcamentoRepository orcamentoRepository) : base(orcamentoRepository) { _orcamentoRepository = orcamentoRepository; }
public PedidoController(IOrcamentoRepository orcamentos, IStatusPedidoRepository pedidos) { Orcamentos = orcamentos; Pedidos = pedidos; }
public OrcamentoService(IOrcamentoRepository receitaRepository, IOrcamentoReadOnlyRepository orcamentoReadOnlyRepository) { _orcamentoRepository = receitaRepository; _orcamentoReadOnlyRepository = orcamentoReadOnlyRepository; }