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