public async Task <ActionResult> Edit(UsersDatosModel model) { if (obj.actualizar(model) == true) { return(RedirectToAction("Users")); } else { return(View(model)); } }
public async Task <ActionResult> Delete(UsersDatosModel model) { if (obj.Eliminar(model) == true) { return(RedirectToAction("Users")); } else { return(View(model)); } }