public ActionResult db_Update([DataSourceRequest] DataSourceRequest request, AchievementsViewModel db) { if (db != null && ModelState.IsValid) { AchievementService.Update(db); } return(Json(new[] { db }.ToDataSourceResult(request, ModelState))); }