Exemplo n.º 1
0
 /// <summary>
 /// adds worker to the database
 /// </summary>
 /// <param name="worker"></param>
 public void AddWorker(Worker worker)
 {
     db.Workers.Add(worker);
     db.SaveChanges();
 }