public ActionResult db_Create([DataSourceRequest] DataSourceRequest request, MediaViewControl db) { if (db != null && ModelState.IsValid) { MediaService.Create(db); } return(Json(new[] { db }.ToDataSourceResult(request, ModelState))); }