public async Task <ActionResult <UserViewModel> > UserData()
        {
            var user = await _userAppService.GetUserAsync(_systemUser.UserId);

            return(ResponseGet(user));
        }
Esempio n. 2
0
        public async Task <IActionResult> GetUser(string userId)
        {
            var user = await _userManageAppService.GetUserAsync(userId);

            return(new OkObjectResult(user));
        }