Example #1
0
        public ActionResult DeleteAd(int id)
        {
            StoredProcs.Ads_DeleteAd(id).Execute();

            return(RedirectToAction("index"));
        }
Example #2
0
        public ActionResult DeleteAd(int id)
        {
            StoredProcs.Ads_DeleteAd(id).Execute();

            return(RedirectToRoute("FooterAdListAdmin"));
        }