Exemple #1
0
 public IncluirModel(IImpedimentoTarefaGrpcService impedimentoTarefaGrpcService,
                     ICrudGrpcService <ImpedimentoViewModel> impedimentoGrpcService,
                     ITarefaGrpcService tarefaGrpcService)
 {
     _impedimentoTarefaGrpcService = impedimentoTarefaGrpcService;
     _impedimentoGrpcService       = impedimentoGrpcService;
     _tarefaGrpcService            = tarefaGrpcService;
 }
Exemple #2
0
 public AlterarModel(IImpedimentoTarefaGrpcService impedimentoTarefaGrpcService,
                     ICrudGrpcService <ImpedimentoViewModel> impedimentoGrpcService)
 {
     _impedimentoTarefaGrpcService = impedimentoTarefaGrpcService;
     _impedimentoGrpcService       = impedimentoGrpcService;
 }
Exemple #3
0
 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;
 }