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