Example #1
0
 public IActionResult Get(string id)
 {
     try
     {
         var model = loginUserService.GetLoginUserById(id);
         if (model == null)
         {
             return(NotFound($"{id} 데이터가 없습니다."));
         }
         return(Ok(model));
     }
     catch (Exception)
     {
         return(BadRequest());
     }
 }