Example #1
0
 public int AddItem(WhiteListObject item) => CoreManager.GetService <IDatabase>().AddItem(item);
Example #2
0
 public List <WhiteListObject> GetAll() => CoreManager.GetService <IDatabase>().GetAll <WhiteListObject>();
Example #3
0
 public bool IsContained(Expression <Func <WhiteListObject, bool> > expression) => CoreManager.GetService <IDatabase>().Contains(expression);
Example #4
0
 public WhiteListObject GetItem(Expression <Func <WhiteListObject, bool> > expression) => CoreManager.GetService <IDatabase>().GetItem(expression);
Example #5
0
 public bool UpdateItem(NetworkDeviceObject item) => CoreManager.GetService <IDatabase>().UpdateItem(null, item);
Example #6
0
 public List <NetworkDeviceObject> GetAll() => CoreManager.GetService <IDatabase>().GetAll <NetworkDeviceObject>();
Example #7
0
 public int AddItem(NetworkDeviceObject item) => CoreManager.GetService <IDatabase>().AddItem(item);
Example #8
0
 public NetworkDeviceObject GetItem(Expression <Func <NetworkDeviceObject, bool> > expression) => CoreManager.GetService <IDatabase>().GetItem(expression);
Example #9
0
 public bool IsContained(Expression <Func <NetworkDeviceObject, bool> > expression) => CoreManager.GetService <IDatabase>().Contains(expression);