public ActionResult SelectForObjectForm(string tabId, int parentId, int id) { var result = ContentService.InitListForObject(); var model = new ObjectContentViewModel(result, tabId, parentId, new[] { id }, ContentSelectMode.ForForm); return(JsonHtml("SelectIndex", model)); }
public async Task <ActionResult> SelectForObjectContainer(string tabId, int parentId, int id) { var result = ContentService.InitListForObject(); var model = new ObjectContentViewModel(result, tabId, parentId, new[] { id }, ContentSelectMode.ForContainer); return(await JsonHtml("SelectIndex", model)); }