Ejemplo n.º 1
0
 public JsonNetResult <IList <ListItem> > GetSimpleList(string entityTypeCode, int parentEntityId, int?entityId, int?listId, int selectionMode, int[] selectedEntitiesIDs, string filter, int testEntityId = 0) => EntityObjectService.SimpleList(
     entityTypeCode,
     parentEntityId,
     entityId > 0 ? entityId : null,
     listId > 0 ? listId : null,
     (ListSelectionMode)Enum.Parse(typeof(ListSelectionMode), selectionMode.ToString()),
     selectedEntitiesIDs,
     filter,
     testEntityId
     );
Ejemplo n.º 2
0
 public JsonResult GetSimpleList([FromBody] SimpleListQuery query)
 {
     return(Json(EntityObjectService.SimpleList(query)));
 }