예제 #1
0
 public HomeController(
     IUsuarioWebForLinkAppService usuario,
     IPapelWebForLinkAppService papel,
     IContratanteWebForLinkAppService contratante,
     IPerfilWebForLinkAppService perfil,
     IFornecedorWebForLinkAppService pjPf,
     IFornecedorContatoWebForLinkAppService pjPfContatos,
     IUsuarioSenhaHistoricoWebForLinkAppService usuarioSenhaHistorico,
     ISolicitacaoWebForLinkAppService solicitacao,
     ISolicitacaoCadastroFornecedorWebForLinkAppService solicitacaoCadastroPjpf,
     IContratanteConfiguracaoWebForLinkAppService contratanteConfiguracao,
     IFornecedorBaseWebForLinkAppService pjPfBase,
     IConfiguracaoWebForLinkAppService configuracaoWebForLink,
     IAcessoLogWebForLinkAppService acesso,
     IProcessoLoginWebForLinkAppService processoLogin)
 {
     _usuarioService                       = usuario;
     _papelService                         = papel;
     _contratanteService                   = contratante;
     _perfilService                        = perfil;
     _pjPfService                          = pjPf;
     _fornecedorContatosService            = pjPfContatos;
     _usuarioSenhaHistoricoService         = usuarioSenhaHistorico;
     _solicitacaoService                   = solicitacao;
     _solicitacaoCadastroFornecedorService = solicitacaoCadastroPjpf;
     _contratanteConfiguracaoService       = contratanteConfiguracao;
     _fornecedorBaseService                = pjPfBase;
     _configuracaoService                  = configuracaoWebForLink;
     _acessoLogService                     = acesso;
     _processoLoginService                 = processoLogin;
 }
 public PreCadastroController(
     IEnderecoWebForLinkAppService endereco,
     IFornecedorWebForLinkAppService pjpf,
     IFornecedorBaseWebForLinkAppService pjpfBase,
     IUsuarioWebForLinkAppService usuario,
     IConfiguracaoWebForLinkAppService wFdConfig,
     IContratanteWebForLinkAppService contratante,
     IPreCadastroWebForLinkAppService preCadastro,
     IServicosMateriaisWebForLinkAppService servicosMateriais,
     IProcessoLoginWebForLinkAppService processoLogin)
 {
     _processoLoginService = processoLogin;
     enderecoBP            = endereco;
     pjpfBp               = pjpf;
     pjpfBaseBp           = pjpfBase;
     usuarioBP            = usuario;
     wFDConfigBP          = wFdConfig;
     contratanteBP        = contratante;
     processoPreCadastro  = preCadastro;
     _unspscBP            = servicosMateriais;
     ViewBag.TipoEndereco = new SelectList(enderecoBP.ListarTodosTiposEnderecosPorNome(), "ID", "NM_TP_ENDERECO");
     ViewBag.UF           = new SelectList(enderecoBP.ListarTodosPorNome(), "UF_SGL", "UF_NM");
     ViewBag.Imagem       = null;
 }
 public ServicosController(IConfiguracaoWebForLinkAppService configuracao, IThreadRoboCargaErp roboCarga) : base()
 {
     _config             = configuracao;
     _threadRoboCargaErp = roboCarga;
 }