Esempio n. 1
0
        public async Task <UserProfileDto> ChangeProfile([FromBody] UserProfileDto profileDto)
        {
            var profile = _mapper.Map <UserProfile>(profileDto);

            profile = await _service.ChangeCurrentUserProfile(profile);

            return(_mapper.Map <UserProfileDto>(profile));
        }