public void Availabe() { //extent = getExtent(); ProfilePage probj = new ProfilePage(); probj.Availability(); }