public void DeleteAppUser(int id) { _appUserRepository.DeleteAppUser(id); }
public IActionResult Delete(int id) { _repo.DeleteAppUser(id); return RedirectToAction("List"); }