Example #1
0
 public IncluirModel(IImpedimentoTarefaGrpcService impedimentoTarefaGrpcService,
                     ICrudGrpcService <ImpedimentoViewModel> impedimentoGrpcService,
                     ITarefaGrpcService tarefaGrpcService)
 {
     _impedimentoTarefaGrpcService = impedimentoTarefaGrpcService;
     _impedimentoGrpcService       = impedimentoGrpcService;
     _tarefaGrpcService            = tarefaGrpcService;
 }
 public TarefaController(IConfiguration configuration)
 {
     _tarefaGrpcService     = MagicOnionClient.Create <ITarefaGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcTarefa"]));
     _sistemaGrpcService    = MagicOnionClient.Create <ISistemaGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcSistema"]));
     _projetoGrpcService    = MagicOnionClient.Create <IProjetoGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcProjeto"]));
     _workflowGrpcService   = MagicOnionClient.Create <IWorkflowGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcWorkflow"]));
     _tipoTarefaGrpcService = MagicOnionClient.Create <ITipoTarefaGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcTipoTarefa"]));
 }
Example #3
0
 public IncluirModel(IRecursoTarefaGrpcService recursoTarefaGrpcService,
                     IRecursoProjetoGrpcService recursoProjetoGrpcService,
                     ITarefaGrpcService tarefaGrpcService)
 {
     _recursoTarefaGrpcService  = recursoTarefaGrpcService;
     _recursoProjetoGrpcService = recursoProjetoGrpcService;
     _tarefaGrpcService         = tarefaGrpcService;
 }
Example #4
0
 public AlterarModel(ITarefaGrpcService tarefaGrpcService,
                     ICrudGrpcService <ProjetoViewModel> projetoGrpcService,
                     ICrudGrpcService <SistemaViewModel> sistemaGrpcService,
                     ICrudGrpcService <WorkflowViewModel> workflowGrpcService,
                     ICrudGrpcService <TipoTarefaViewModel> tipoTarefaGrpcService)
 {
     _tarefaGrpcService     = tarefaGrpcService;
     _projetoGrpcService    = projetoGrpcService;
     _sistemaGrpcService    = sistemaGrpcService;
     _workflowGrpcService   = workflowGrpcService;
     _tipoTarefaGrpcService = tipoTarefaGrpcService;
 }
Example #5
0
 public ImpedimentoTarefaController(IConfiguration configuration)
 {
     _impedimentoTarefaGrpcService = MagicOnionClient.Create <IImpedimentoTarefaGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcImpedimentoTarefa"]));
     _tarefaGrpcService            = MagicOnionClient.Create <ITarefaGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcTarefa"]));
     _impedimentoGrpcService       = MagicOnionClient.Create <IImpedimentoGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcImpedimento"]));
 }
Example #6
0
 public RemoverModel(ITarefaGrpcService tarefaGrpcService)
 {
     _tarefaGrpcService = tarefaGrpcService;
 }
 public ApontamentoController(IConfiguration configuration)
 {
     _apontamentoGrpcService = MagicOnionClient.Create <IApontamentoGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcApontamento"]));
     _tarefaGrpcService      = MagicOnionClient.Create <ITarefaGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcTarefa"]));
     _workflowGrpcService    = MagicOnionClient.Create <IWorkflowGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcWorkflow"]));
 }
Example #8
0
 public ListarModel(IApontamentoGrpcService apontamentoGrpcService,
                    ITarefaGrpcService tarefaGrpcService)
 {
     _apontamentoGrpcService = apontamentoGrpcService;
     _tarefaGrpcService      = tarefaGrpcService;
 }
Example #9
0
 public FluxoTrabalhoModel(ICrudGrpcService <WorkflowViewModel> workflowGrpcService,
                           ITarefaGrpcService tarefaGrpcService)
 {
     _workflowGrpcService = workflowGrpcService;
     _tarefaGrpcService   = tarefaGrpcService;
 }
 public RecursoTarefaController(IConfiguration configuration)
 {
     _recursoTarefaGrpcService = MagicOnionClient.Create <IRecursoTarefaGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcRecursoTarefa"]));
     _recursoGrpcService       = MagicOnionClient.Create <IRecursoGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcRecurso"]));
     _TarefaGrpcService        = MagicOnionClient.Create <ITarefaGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcTarefa"]));
 }
Example #11
0
 public ListarModel(ITarefaGrpcService tarefaGrpcService)
 {
     _tarefaGrpcService = tarefaGrpcService;
 }