Beispiel #1
0
        public void AddKeyWorker(Common.PatientsEmployee employee)
        {
            Common.Patient            pat = new Common.Patient();
            DataLayer.PatientsHandler dap = new DataLayer.PatientsHandler();

            employee.PatientDate = DateTime.Today;
            this.AddKeyWorkerToDatabase(employee);
        }
Beispiel #2
0
 public void AddKeyWorker(Common.PatientsEmployee employee)
 {
     this.Entities.PatientsEmployees.Add(employee);
     this.Entities.SaveChanges();
 }
Beispiel #3
0
 private void AddKeyWorkerToDatabase(Common.PatientsEmployee employee)
 {
     new DataLayer.PatientsHandler().AddKeyWorker(employee);
 }