Beispiel #1
0
        public void DeleteWorker(string id)
        {
            Worker user = getWorker(id);

            collectionWorker.DeleteOne(a => a.ID == user.ID);
        }
Beispiel #2
0
 public void AddWorker(Worker worker)
 {
     collectionWorker.InsertOne(worker);
 }