public async Task <IActionResult> GetUser(int id) { var user = await _repo.GetUser(id); var returnUser = _mapper.Map <UserForReturnDto>(user); return(Ok(returnUser)); }