public virtual ActionResult ChangeAsChild(string tabId, int parentId, FormCollection collection) { return(SaveAsChild(tabId, parentId, model => { ChildContentService.Change(parentId, model.EntityIDs.FirstOrDefault(), model.Data); })); }
public virtual async Task <ActionResult> ChangeAsChild(string tabId, int parentId, IFormCollection collection) { return(await SaveAsChild(tabId, parentId, model => { ChildContentService.Change(parentId, model.EntityIds.FirstOrDefault(), model.Data); })); }