예제 #1
0
        public ActionResult Delete(SportsSide.DAL.AREA area)
        {
            var result = webApi.DeleteArea(area);

            if (result == false)
            {
                TempData["Hata"] = "Bir hata oluştu.";
                return(View(area));
            }
            return(RedirectToAction("Index", "Areas"));
        }