Posted: January 30th, 2021
Creating a multi-select list
Question description Hi, I am having difficulty successfully creating a multi select list. At the moment the property 'HairColourIds' is set as an 'int' and the search result only shows one selected item's results, not two when selected in the multi select list. I know I need to change it to an IEnumerable type,, but how can I adjust my list (below) so that it works properly? public IEnumerable
FindPeople(PersonSearchCriteria searchCriteria, int personId) { var hairColourList = new List(); if (searchCriteria.HairColourIds != null) { hairColourList.Add(searchCriteria.HairColourIds.Value); } var result = this.connectionStringSettings.Connection() .Query( "abc.GetPeople", new { HairColourIds = hairColourList PersonId = personId }); return result; }How Do I Choose the Right Writer?
We match you with a writer based on your subject and academic level, but you can also request a preferred writer if you have worked with someone before. Browse writer profiles or let our system pick the best fit for your needs. Each writer brings specialized knowledge in their field, ensuring subject-matter expertise for your assignment. Students looking for an essay writer can review qualifications to find their perfect match. Our team ensures every writer is vetted for expertise, so you are always in good hands.
Order | Check Discount
Tags: write my essay online, Thesis Help UK, Dissertation Writing Services, Cheap Essay Writing Service