public IncluirModel(IImpedimentoTarefaGrpcService impedimentoTarefaGrpcService, ICrudGrpcService <ImpedimentoViewModel> impedimentoGrpcService, ITarefaGrpcService tarefaGrpcService) { _impedimentoTarefaGrpcService = impedimentoTarefaGrpcService; _impedimentoGrpcService = impedimentoGrpcService; _tarefaGrpcService = tarefaGrpcService; }
public AlterarModel(IImpedimentoTarefaGrpcService impedimentoTarefaGrpcService, ICrudGrpcService <ImpedimentoViewModel> impedimentoGrpcService) { _impedimentoTarefaGrpcService = impedimentoTarefaGrpcService; _impedimentoGrpcService = impedimentoGrpcService; }
public ImpedimentoTarefaController(IConfiguration configuration) { _impedimentoTarefaGrpcService = MagicOnionClient.Create <IImpedimentoTarefaGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcImpedimentoTarefa"])); _tarefaGrpcService = MagicOnionClient.Create <ITarefaGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcTarefa"])); _impedimentoGrpcService = MagicOnionClient.Create <IImpedimentoGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcImpedimento"])); }
public RemoverModel(IImpedimentoTarefaGrpcService impedimentoTarefaGrpcService) { _impedimentoTarefaGrpcService = impedimentoTarefaGrpcService; }
public ListarModel(IImpedimentoTarefaGrpcService impedimentoTarefaGrpcService) { _impedimentoTarefaGrpcService = impedimentoTarefaGrpcService; }