예제 #1
0
 public IncluirModel(IRecursoProjetoGrpcService recursoProjetoGrpcService,
                     IRecursoGrpcService recursoGrpcService,
                     ICrudGrpcService <ProjetoViewModel> projetoGrpcService)
 {
     _recursoProjetoGrpcService = recursoProjetoGrpcService;
     _recursoGrpcService        = recursoGrpcService;
     _projetoGrpcService        = projetoGrpcService;
 }
예제 #2
0
 public IncluirModel(IRecursoGrpcService recursoGrpcService)
 {
     _recursoGrpcService = recursoGrpcService;
 }
예제 #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"]));
 }
예제 #4
0
 public AlterarModel(IRecursoGrpcService recursoGrpcService)
 {
     _recursoGrpcService = recursoGrpcService;
 }
예제 #5
0
 public ListarModel(IRecursoGrpcService recursoGrpcService)
 {
     _recursoGrpcService = recursoGrpcService;
 }
예제 #6
0
 public RemoverModel(IRecursoGrpcService recursoGrpcService)
 {
     _recursoGrpcService = recursoGrpcService;
 }
예제 #7
0
 public LoginModel(IRecursoGrpcService recursoGrpcService, ISystemConfiguration systemConfiguration)
 {
     _recursoGrpcService  = recursoGrpcService;
     _systemConfiguration = systemConfiguration;
 }
 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"]));
 }