public List<Category> Get_Category()
 {
         s26webDataContext db = new s26webDataContext();
         PointModelShow data = new PointModelShow();
         data.Point_Category = db.Category.Where(w => w.Fun_Id == 3).ToList();
         db.Connection.Close();
         return data.Point_Category;
 }
 public int Update(PointModelShow item)
 {
     try
     {
         s26webDataContext db = new s26webDataContext();
         var data = db.Product.FirstOrDefault(f => f.Id == item.Id);
         if (data != null)
         {
             db.SubmitChanges();
             db.Connection.Close();
             return data.Id;
         }
         db.Connection.Close();
         return -1;
     }
     catch { return -1; }
 }