public string GetAccessorSign(string id)
 {
     using (LiteDatabase db = new LiteDatabase(_persistancePath))
     {
         LiteCollection <AccessorSignDBModel> collection = db.GetCollection <AccessorSignDBModel>(COLLECTION_ACCESSORSIGN);
         AccessorSignDBModel model = collection.Find(x => x.Key == id).FirstOrDefault();
         return(model.Sid);
     }
 }
 public void SaveAccessorSign(string key, string sid)
 {
     using (LiteDatabase db = new LiteDatabase(_persistancePath))
     {
         LiteCollection <AccessorSignDBModel> collection = db.GetCollection <AccessorSignDBModel>(COLLECTION_ACCESSORSIGN);
         AccessorSignDBModel model = new AccessorSignDBModel();
         model.Key = key;
         model.Sid = sid;
         collection.Insert(model);
     }
 }