Exemplo n.º 1
0
        public ActionResult Delete(int id)
        {
            var wish = siteService.GetWish(id);

            siteService.DeleteApply(id);

            siteService.DeleteWish(wish);
            siteService.Save();

            return(RedirectToAction("Index"));
        }