Exemplo n.º 1
0
 public override string ToString()
 {
     return($"Рецепт: {{ \"{Diagnosis.ToString()}\", \"{Medicament.ToString()}\" }}");
 }
Exemplo n.º 2
0
 public Prescription(Medicament medicament, Diagnosis diagnosis, SqlConnection connection) : this()
 {
     Connection = connection;
     Medicament = medicament;
     Diagnosis  = diagnosis;
 }