/// <summary> /// Checks of the selected concept is already in the authority scope list /// </summary> /// <returns>Returns true if the selected concept exists, false if not found</returns> public bool HasSelectedAuthorityScope(AssigningAuthority authorityInfo) { return(AddConcepts.Any() && authorityInfo.AuthorityScope.Any(scope => scope.Key.ToString().Equals(AddConcepts[0]))); }
/// <summary> /// Checks of the selected concept is already in the concept set list /// </summary> /// <returns>Returns true if the selected concept exists, false if not found</returns> public bool HasSelectedConcept(ConceptSet conceptSet) { return(AddConcepts.Any() && conceptSet.Concepts.Any(c => c.Key.ToString().Equals(AddConcepts[0]))); }