public ActionResult SiteMapAdd([DataSourceRequest] DataSourceRequest request, SiteMap siteMap) { if (siteMap != null && ModelState.IsValid) { _siteService.Add(siteMap); } return(Json(new[] { siteMap }.ToDataSourceResult(request, ModelState))); }