Exemple #1
0
    protected DataTable GetRoomTypePictures(int roomType)
    {
        DataTable      dt    = new DataTable();
        RoomType_Image image = new RoomType_Image();

        image.RoomType_ID = roomType;
        dt = image.SelectAll();
        return(dt);
    }
Exemple #2
0
    protected DataTable GetRoomTypeImages(int roomTypeId)
    {
        RoomType_Image img = new RoomType_Image();

        img.RoomType_ID = roomTypeId;
        DataTable dt = img.SelectAll();

        return(dt);
    }