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