Пример #1
0
        public List <AttendeeAutoComplete> Search(string sv)
        {
            var attendees = _attendeeService.Search(sv);

            var attendeeAutoCompletes = (from a in attendees
                                         select new AttendeeAutoComplete
            {
                value = a.Id,
                label = a.FullName,
                certId = a.CertId
            })
                                        .ToList();

            return(attendeeAutoCompletes);
        }