예제 #1
0
        public ActionResult Delete(int id, int?page)
        {
            var binding = BindingService.GetById(id);

            if (binding != null)
            {
                BindingService.Delete(binding);
            }

            return(RedirectToAction("Index", new { page }));
        }