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

            return(Json(rst));
        }