public static int addpics(string pics, int id)
 {
     try
     {
         if (HttpContext.Current.Session["Type"].ToString().ToLower().Equals("admin"))
         {
             myDAL obj = new myDAL();
             return(obj.addpics(pics, id));
         }
         else
         {
             return(-1);
         }
     }
     catch
     {
         return(-1);
     }
 }