Ejemplo n.º 1
0
        public async Task <IActionResult> ListElementDefinitionsAsync(Guid elementTypeId, [FromQuery] string elementIds)
        {
            IEnumerable <long> elementIdCollection             = !string.IsNullOrWhiteSpace(elementIds) ? elementIds.Split(',').Select(long.Parse) : null;
            IEnumerable <ElementDefinition> elementDefinitions = await _elementService.ListElementDefinitionsAsync(TenantId, elementTypeId, elementIdCollection);

            return(Ok(elementDefinitions));
        }