コード例 #1
0
        public ActionResult db_Destroy([DataSourceRequest] DataSourceRequest request, AchievementsViewModel db)
        {
            if (db != null)
            {
                AchievementService.Destroy(db);
            }

            return(Json(new[] { db }.ToDataSourceResult(request, ModelState)));
        }