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")); }
public IActionResult OnPost() { if (!ModelState.IsValid) { return(Page()); } var id = repository.Insert(Empresa); // var Cuentaid = Cuentarepository.Insert(Cuenta); return(RedirectToPage("./Create")); }