Ejemplo n.º 1
0
 public IncluirModel(IRecursoProjetoGrpcService recursoProjetoGrpcService,
                     IRecursoGrpcService recursoGrpcService,
                     ICrudGrpcService <ProjetoViewModel> projetoGrpcService)
 {
     _recursoProjetoGrpcService = recursoProjetoGrpcService;
     _recursoGrpcService        = recursoGrpcService;
     _projetoGrpcService        = projetoGrpcService;
 }
Ejemplo n.º 2
0
 public IncluirModel(IRecursoTarefaGrpcService recursoTarefaGrpcService,
                     IRecursoProjetoGrpcService recursoProjetoGrpcService,
                     ITarefaGrpcService tarefaGrpcService)
 {
     _recursoTarefaGrpcService  = recursoTarefaGrpcService;
     _recursoProjetoGrpcService = recursoProjetoGrpcService;
     _tarefaGrpcService         = tarefaGrpcService;
 }
Ejemplo n.º 3
0
 public RecursoProjetoController(IConfiguration configuration)
 {
     _recursoProjetoGrpcService = MagicOnionClient.Create <IRecursoProjetoGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcRecursoProjeto"]));
     _recursoGrpcService        = MagicOnionClient.Create <IRecursoGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcRecurso"]));
     _projetoGrpcService        = MagicOnionClient.Create <IProjetoGrpcService>(CreateAuthenticatedChannel(configuration["AppSettings:UrlCpnucleoGrpcProjeto"]));
 }
Ejemplo n.º 4
0
 public ListarModel(IRecursoProjetoGrpcService recursoProjetoGrpcService)
 {
     _recursoProjetoGrpcService = recursoProjetoGrpcService;
 }
Ejemplo n.º 5
0
 public RemoverModel(IRecursoProjetoGrpcService recursoProjetoGrpcService)
 {
     _recursoProjetoGrpcService = recursoProjetoGrpcService;
 }