Example #1
0
        public async Task <ActionResult <IndividualModel[]> > Search(string term)
        {
            var results = await _repository.Search(term);

            return(Ok(_mapper.Map <IndividualModel[]>(results)));
        }