常用方法
常用方法
常用方法
常用方法
// TODO: make JSONReult and display error on client public async Task <ActionResult> DelPeople(int id) { var result = await peopleService.DelPeopleTask(id); if (result.Successed) { return(RedirectToAction("Index")); } else { return(RedirectToAction("Index")); } }