o
    @>e                     @   sn   d dl mZ ddlmZmZ e Zeddgdddiid	Zed
defddZ	eddefddZ
dS )    )	APIRouter   )MONGODB_DATABASEmongodb_connectz/hotelshotelsi  description	Not found)prefixtags	responsesz/{sub}subc                    :   t t d d| iddi}|rt|}d|iS ddiS )NZrefactor_hotelsr   _idr   hotelr   mongodb_clientr   find_onedictr   Zhotel_cursorr    r   EC:\Users\ChattiNader\Documents\MyHotelMatch\api\app\routers\hotels.py	get_hotel      r   z/content/{sub}c                    r   )NZ
HotelsDatar   r   r   r   r   r   r   r   r   r   get_hotel_content   r   r   N)fastapir   utilsr   r   r   routergetstrr   r   r   r   r   r   <module>   s    
