public ActionResult ServiceProviderDelete(int ID) { ServiceProvider sp = new ServiceProvider(); sp.ServiceProviderID = ID; sp.Delete(); return(RedirectToAction("ServiceProviderSearch")); }