예제 #1
0
        public ActionResult db_Create([DataSourceRequest] DataSourceRequest request, AchievementsViewModel db)
        {
            if (db != null && ModelState.IsValid)
            {
                AchievementService.Create(db);
            }

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