Esempio n. 1
0
        public JsonResult delete(String data)
        {
            repository objRep = new repository();

            return(Json(objRep.DeleteUser(data), JsonRequestBehavior.AllowGet));
        }
Esempio n. 2
0
 public IActionResult DeleteConfirmed(int id)
 {
     repository.DeleteUser(id);
     return(RedirectToAction("Index"));
 }