public List <FirebaseCloud> getListToken()
        {
            MTokenDataContext    m = new MTokenDataContext();
            List <FirebaseCloud> firebaseClouds = m.FirebaseClouds.ToList();

            return(firebaseClouds);
        }
 public bool saveToken(string token)
 {
     try
     {
         MTokenDataContext context = new MTokenDataContext();
         FirebaseCloud     tokenD  = context.FirebaseClouds.FirstOrDefault(x => x.Token == token);
         if (tokenD != null)
         {
             return(false);
         }
         FirebaseCloud firebase = new FirebaseCloud();
         firebase.Token = token;
         context.FirebaseClouds.InsertOnSubmit(firebase);
         context.SubmitChanges();
         return(true);
     }
     catch
     {
     }
     return(false);
 }