コード例 #1
0
        public ActionResult Delete(Guid id)
        {
            if (!claseService.GetClaseAny(id))
            {
                claseService.Delete(id);

                return(Json(new { data = true }, JsonRequestBehavior.AllowGet));
            }
            return(Json(new { data = false }, JsonRequestBehavior.AllowGet));
        }