コード例 #1
0
 public async Task <IActionResult> GetById(string userId)
 {
     try
     {
         return(Ok(await _aspNetUsersService.GetByIdAsync(userId)));
     }
     catch (NotFoundCustomException exception)
     {
         return(NotFound(exception.Message));
     }
 }