public async Task <IActionResult> SelectAnEntityModal() { var allEntities = _dynamicEntityPropertyDefinitionManager.GetAllEntities(); var entitiesAlreadyHasProperty = (await _dynamicEntityPropertyAppService.GetAllEntitiesHasDynamicProperty()) .Items .Select(x => x.EntityFullName) .ToList(); allEntities = allEntities.Except(entitiesAlreadyHasProperty).ToList(); return(PartialView("_SelectAnEntityModal", allEntities)); }
public List <string> GetAllEntities() { return(_dynamicEntityPropertyDefinitionManager.GetAllEntities()); }