I have a CRUD table, and after, for example, each of its edits, I would like to update only the div that contains the table, without updating the entire Index page.
<div class="modal-body"> <h2>Create</h2> <form asp-action="Create"> <div class="form-horizontal"> Contoller:
[HttpPost] public IActionResult Create(Menu cust) { if (ModelState.IsValid) { sMenuRepository.Add(cust); return RedirectToAction("Index", new { fileID = cust.File_Id }); } return View(cust); } 
ajaxtag probably not in vain ... use it - Vitaly Shebanits$.ajax();) - Vitaly Shebanits