Esempio n. 1
0
 public ActionResult DeleteConfirm(int id)
 {
     _service.Delete(id);
     return(RedirectToAction("Create"));
 }
Esempio n. 2
0
 public IActionResult Delete(DeleteModel dels)
 {
     //var delList = JsonConvert.DeserializeObject<DeleteModel>
     return(new JsonResult(_enterpriseService.Delete(dels)));
 }