public void DelLibrary(CheckTargetLibrary library) { if (library != null) { _realm.Write(() => _realm.Remove(library)); } }
public void AddLibrary(string systemId, string systemName) { _realm.Write(() => { CheckTargetLibrary target = new CheckTargetLibrary() { systemid = systemId, systemname = systemName, }; _realm.Add(target); }); }