コード例 #1
0
 public Floor GetFloorById(int floorId)
 {
     _logger.LogInfo("API HttpGet api/floors/{floorId}");
     try
     {
         return(_floorService.GetFloorWithBlocksAndRooms(floorId));
     }
     catch (System.Exception e)
     {
         _logger.LogError("API HttpGet api/floors/{floorId}  " + e.Message);
         throw e;
     }
 }