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