Beispiel #1
0
 public IncluirModel(IRecursoTarefaGrpcService recursoTarefaGrpcService,
                     IRecursoProjetoGrpcService recursoProjetoGrpcService,
                     ITarefaGrpcService tarefaGrpcService)
 {
     _recursoTarefaGrpcService  = recursoTarefaGrpcService;
     _recursoProjetoGrpcService = recursoProjetoGrpcService;
     _tarefaGrpcService         = tarefaGrpcService;
 }
Beispiel #2
0
 public ListarModel(IRecursoTarefaGrpcService recursoTarefaGrpcService)
 {
     _recursoTarefaGrpcService = recursoTarefaGrpcService;
 }
Beispiel #3
0
 public RemoverModel(IRecursoTarefaGrpcService recursoTarefaGrpcService)
 {
     _recursoTarefaGrpcService = recursoTarefaGrpcService;
 }
 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"]));
 }