public IActionResult OnPost()
        {
            if (!ModelState.IsValid)
            {
                return(Page());
            }

            var id = repository.Insert(Orden);

            return(RedirectToPage("./Create"));
        }
        public IActionResult OnPost()
        {
            if (!ModelState.IsValid)
            {
                return(Page());
            }

            var CanId = repository.Insert(Candidato);


            return(RedirectToPage("./create"));
        }
예제 #3
0
        public IActionResult OnPost()
        {
            if (!ModelState.IsValid)
            {
                return(Page());
            }

            var id = repository.Insert(Empresa);

            // var Cuentaid = Cuentarepository.Insert(Cuenta);


            return(RedirectToPage("./Create"));
        }