예제 #1
0
        public async Task <IActionResult> UpdateUser(UserForListDto user)
        {
            var userFromDB = await _repo.UpdateUser(user);

            var userToReturn = _mapper.Map <UserForListDto>(userFromDB);

            //return Ok(userToReturn);
            return(NoContent());
        }