public static void updateavailiability(string available)
 {
     if (HttpContext.Current.Session["Type"].ToString().ToLower().Equals("admin"))
     {
         myDAL obj = new myDAL();
         obj.updateavailiability(id, available);
     }
 }