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

            return(Page());
        }
Exemplo n.º 2
0
        public ActionResult <ProjetoViewModel> Get(Guid id)
        {
            ProjetoViewModel projeto = _projetoAppService.Consultar(id);

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

            return(Ok(projeto));
        }
Exemplo n.º 3
0
        public IActionResult OnGet(Guid id)
        {
            Projeto        = _projetoAppService.Consultar(id);
            SelectSistemas = new SelectList(_sistemaAppService.Listar(), "Id", "Nome");

            return(Page());
        }
Exemplo n.º 4
0
        public IActionResult OnGet(Guid id)
        {
            Projeto = _projetoAppService.Consultar(id);

            return(Page());
        }