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"]));
 }
 public WorkflowController(IConfiguration configuration)
 {
     _workflowGrpcService = MagicOnionClient.Create <IWorkflowGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcWorkflow"]));
 }
 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"]));
 }