public async Task <IActionResult> GetAsync() { var id = _currentUserAccessor.GetCurrentId(); var user = await _userService.GetOneAsync(id); return(Ok(user)); }
public async Task <IActionResult> GetAsync() { var id = _currentUserAccessor.GetCurrentId(); var user = await _userService.GetOneAsync(id); return(Ok(user)); }