public ActionResult Delete(int id, IFormCollection collection) { try { _adminData.DeleteDetails(id); return(RedirectToAction("Index", "Admin")); } catch { return(View()); } }
public ActionResult Delete(int id, IFormCollection collection) { try { _adminData.DeleteDetails(id); return(RedirectToAction("Index", "Admin")); } catch { return(View()); } }