示例#1
0
        public async Task <IActionResult> GetUser(int userId)
        {
            var user = await _repo.GetUser(userId);

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


            return(Ok(user));
        }