Esempio n. 1
0
        private void ExecuteDropQueryCommand(DragDropQueryEventArgs obj)
        {
            var result = false;

            if (obj.Options.Payload is ProblemDto)
            {
                var problemDto = obj.Options.Payload as ProblemDto;
                var probQuery  =
                    ProblemList.FirstOrDefault(
                        d => d.ProblemCodeCodedConcept.CodedConceptCode == problemDto.ProblemCodeCodedConcept.CodedConceptCode);
                result = probQuery == null;
            }
            obj.QueryResult = result;
        }