//Delete Participant public ActionResult Delete(int id) { if (id > 0) { bool isDeleted = _participantManager.Delete(id); if (isDeleted) { return(RedirectToAction("Index")); } } return(RedirectToAction("Index")); }