예제 #1
0
        public ActionResult Delete(long id)
        {
            var data = _service.GetById(id);

            if (data != null)
            {
                _service.Delete(data);
            }
            return(IndexAjax());
        }