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"])); }
public RemoverModel(IApontamentoGrpcService apontamentoGrpcService) { _apontamentoGrpcService = apontamentoGrpcService; }