Exemple #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);
        }
Exemple #2
0
 public void AddKeyWorker(Common.PatientsEmployee employee)
 {
     this.Entities.PatientsEmployees.Add(employee);
     this.Entities.SaveChanges();
 }
Exemple #3
0
 private void AddKeyWorkerToDatabase(Common.PatientsEmployee employee)
 {
     new DataLayer.PatientsHandler().AddKeyWorker(employee);
 }