public ActionResult DeleteSponsor(Guid ID) { Sponsor dbSponsor = reposetory.GetSponsor(ID); if (dbSponsor != null && reposetory.DeleteSponsor(dbSponsor.SponsorID)) { } return(RedirectToAction("Sponsors")); }
public ActionResult DeleteSponsor(Guid ID) { Sponsor dbSponsor = reposetory.GetSponsor(ID); if (dbSponsor != null && reposetory.DeleteSponsor(dbSponsor.SponsorID)) { } return(RedirectToAction("Sponsors")); }