Automapper Mapping IEnumerable<SelectListItem> for Dropdown Menu
问题 Problem I am currently adding automapping to my MVC project and I am stuck. Right now I have a User model used to represent data in the database. I have to map that model to a EditUserModel which will be used when the Edit method is called. The EditUserModel has IEnumerable<SelectListItem> (for a dropdown menu) that I can't seem to figure out how to map. Attempted Solution As of right now I haven't tried to implement anything. I am unsure where the best place for the IEnumerable