Good job Patrick I have one comment concerning the updateCharacter method that you do not need to map each property, instead you can do that: _mapper.Map(updatedCharacter,character);serviceResponse.Data = _mapper.Map(character);return serviceResponse; and you have to create the map: CreateMap<'UpdateCharacterDto,Character'>();
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Good job Patrick I have one comment concerning the updateCharacter method that you do not need to map each property, instead you can do that:
_mapper.Map(updatedCharacter,character);serviceResponse.Data = _mapper.Map(character);return serviceResponse;
and you have to create the map:CreateMap<'UpdateCharacterDto,Character'>();