예제 #1
0
        public IActionResult OnGet(int id)
        {
            Empresa = repositoryW.Get(id);

            if (Empresa.Id == 0)
            {
                return(RedirectToPage("/Empresas/Index"));
            }
            return(Page());
        }
예제 #2
0
        public IActionResult OnGet(int id)
        {
            Referencias = repositoryW.Get(id);

            if (Referencias.Id == 0)
            {
                return(RedirectToPage("/Referencias/Index"));
            }
            return(Page());
        }
예제 #3
0
        public IActionResult OnGet(int id)
        {
            Orden = repositoryW.Get(id);

            if (Orden.Id == 0)
            {
                return(RedirectToPage("/Ordenes/Index"));
            }
            return(Page());
        }
예제 #4
0
        public IActionResult OnGet(int id)
        {
            Candidato = repositoryW.Get(id);

            if (Candidato.Id == 0)
            {
                return(RedirectToPage("/Candidatos/Index"));
            }
            return(Page());
        }