protected void Page_Load(object sender, EventArgs e)
        {
            IRoomComponent roomservice = new RoomComponent();
            GridView1.DataSource = roomservice.GetList();
            GridView1.DataBind();

        }
 public IEnumerable<Room> GetList(bool enabledOnly)
 {
     IRoomComponent component = new RoomComponent();
     IEnumerable<Room> results = null;
     if (enabledOnly)
     {
         results = component.GetEnabledList();
     }
     else
     {
         results = component.GetList();
     }
     return results;
 }