コード例 #1
0
 public IActionResult Get(Guid id)
 {
     try
     {
         return(new ObjectResult(Models.User.MapFromEntity(_userInteractor.GetUser(id))));
     }
     catch (EntityNotFoundException)
     {
         return(new NotFoundResult());
     }
 }