示例#1
0
        public IActionResult OnGet(Guid idProjeto)
        {
            Projeto        = _projetoAppService.Consultar(idProjeto);
            SelectRecursos = new SelectList(_recursoAppService.Listar(), "Id", "Nome");

            return(Page());
        }
示例#2
0
        public ActionResult <ProjetoViewModel> Get(Guid id)
        {
            ProjetoViewModel projeto = _projetoAppService.Consultar(id);

            if (projeto == null)
            {
                return(NotFound());
            }

            return(Ok(projeto));
        }
示例#3
0
        public ActionResult <TarefaViewModel> Get(Guid id)
        {
            TarefaViewModel tarefa = _tarefaAppService.Consultar(id);

            if (tarefa == null)
            {
                return(NotFound());
            }

            return(Ok(tarefa));
        }
        public ActionResult <RecursoTarefaViewModel> Get(Guid id)
        {
            RecursoTarefaViewModel recursoTarefa = _recursoTarefaAppService.Consultar(id);

            if (recursoTarefa == null)
            {
                return(NotFound());
            }

            return(Ok(recursoTarefa));
        }
示例#5
0
        public ActionResult <ApontamentoViewModel> Get(Guid id)
        {
            ApontamentoViewModel apontamento = _apontamentoAppService.Consultar(id);

            if (apontamento == null)
            {
                return(NotFound());
            }

            return(Ok(apontamento));
        }
示例#6
0
        public ActionResult <SistemaViewModel> Get(Guid id)
        {
            SistemaViewModel sistema = _sistemaAppService.Consultar(id);

            if (sistema == null)
            {
                return(NotFound());
            }

            return(Ok(sistema));
        }
示例#7
0
        public ActionResult <RecursoProjetoViewModel> Get(Guid id)
        {
            RecursoProjetoViewModel recursoProjeto = _recursoProjetoAppService.Consultar(id);

            if (recursoProjeto == null)
            {
                return(NotFound());
            }

            return(Ok(recursoProjeto));
        }
示例#8
0
        public ActionResult <ImpedimentoTarefaViewModel> Get(Guid id)
        {
            ImpedimentoTarefaViewModel impedimentoTarefa = _impedimentoTarefaAppService.Consultar(id);

            if (impedimentoTarefa == null)
            {
                return(NotFound());
            }

            return(Ok(impedimentoTarefa));
        }
示例#9
0
        public ActionResult <WorkflowViewModel> Get(Guid id)
        {
            WorkflowViewModel workflow = _workflowAppService.Consultar(id);

            if (workflow == null)
            {
                return(NotFound());
            }

            return(Ok(workflow));
        }
示例#10
0
        public IActionResult OnGet(Guid id)
        {
            Projeto        = _projetoAppService.Consultar(id);
            SelectSistemas = new SelectList(_sistemaAppService.Listar(), "Id", "Nome");

            return(Page());
        }
示例#11
0
        public IActionResult OnGet(Guid id)
        {
            Projeto = _projetoAppService.Consultar(id);

            return(Page());
        }
示例#12
0
        public IActionResult OnGet(Guid id)
        {
            Impedimento = _impedimentoAppService.Consultar(id);

            return(Page());
        }
示例#13
0
        public IActionResult OnGet(Guid id)
        {
            Sistema = _sistemaAppService.Consultar(id);

            return(Page());
        }