예제 #1
0
 public ListarModel(IApontamentoGrpcService apontamentoGrpcService,
                    ITarefaGrpcService tarefaGrpcService)
 {
     _apontamentoGrpcService = apontamentoGrpcService;
     _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"]));
 }
예제 #3
0
 public RemoverModel(IApontamentoGrpcService apontamentoGrpcService)
 {
     _apontamentoGrpcService = apontamentoGrpcService;
 }