Beispiel #1
0
        public ActionResult db_Update([DataSourceRequest] DataSourceRequest request, AchievementsViewModel db)
        {
            if (db != null && ModelState.IsValid)
            {
                AchievementService.Update(db);
            }

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