Esempio n. 1
0
        public void DeleteWorker(string id)
        {
            Worker user = getWorker(id);

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