Example #1
0
        public async Task <IActionResult> OnGetAsync(Guid idTarefa)
        {
            Tarefa = await _tarefaGrpcService.ConsultarAsync(idTarefa);

            SelectImpedimentos = new SelectList(await _impedimentoGrpcService.ListarAsync(), "Id", "Nome");

            return(Page());
        }
Example #2
0
        public async Task <IActionResult> OnGetAsync(Guid idTarefa)
        {
            Tarefa = await _tarefaGrpcService.ConsultarAsync(idTarefa);

            SelectRecursos = new SelectList(await _recursoProjetoGrpcService.ListarPorProjetoAsync(Tarefa.IdProjeto), "Recurso.Id", "Recurso.Nome");

            return(Page());
        }
Example #3
0
        public async Task <IActionResult> OnGetAsync(Guid id)
        {
            Tarefa = await _tarefaGrpcService.ConsultarAsync(id);

            SelectProjetos    = new SelectList(await _projetoGrpcService.ListarAsync(), "Id", "Nome");
            SelectSistemas    = new SelectList(await _sistemaGrpcService.ListarAsync(), "Id", "Descricao");
            SelectWorkflows   = new SelectList(await _workflowGrpcService.ListarAsync(), "Id", "Nome");
            SelectTipoTarefas = new SelectList(await _tipoTarefaGrpcService.ListarAsync(), "Id", "Nome");

            return(Page());
        }
Example #4
0
        public async Task <IActionResult> OnGetAsync(Guid id)
        {
            Tarefa = await _tarefaGrpcService.ConsultarAsync(id);

            return(Page());
        }