public JsonNetResult <IEnumerable <EntityInfo> > GetParentInfo(string entityTypeCode, long entityId, long?parentEntityId) => EntityObjectService.GetParentInfo(entityTypeCode, entityId, parentEntityId).ToList();
public JsonResult GetParentInfo(string entityTypeCode, long entityId, long?parentEntityId) { return(Json(EntityObjectService.GetParentInfo(entityTypeCode, entityId, parentEntityId)?.ToList())); }