public void SavePacient(String name) { Pacient pacient = new Pacient(); pacient.Name = name; dbService.SavePacient(pacient); }
public void SavePacient(Pacient pacient) { this.db.Insert(pacient); this.OnPacientAdded.Invoke(null); }