public ActionResult Delete(int id) { Repositories.Delete(id); return(Ok(new { status = "200", msg = "OK", obj = new { } })); }
public IActionResult Delete(int id) { _Repositories.Delete(id); return(RedirectToAction("Index")); }
public ActionResult Delete(int id) { Repositories.Delete(id); return(Ok(new { status = "200", msg = "OK", obj = new { } })); }
public IActionResult Delete(int id) { _Repositories.Delete(id); return(RedirectToAction("Index")); }