public ActionResult DeleteConfirmed(int id) { _locationBusiness.Delete(id); return(RedirectToAction("Index")); }
public async Task <IActionResult> Delete(string id) { bool rst = await m_LocationBusiness.Delete(id); return(Json(rst)); }