public async Task <IActionResult> Del(int id) { if (await iub.UserDelete(id) > 0) { return(RedirectToAction("user_list")); } else { return(RedirectToAction("user_list")); } }
public async Task <IActionResult> Del(int id) { if (await iub.UserDelete(id) > 0) { return(RedirectToAction("user_list")); } else { return(RedirectToAction("user_list")); } }