Ejemplo n.º 1
0
        public Agendamento AgendarExame(Atendente atendente, Paciente paciente, Medico medico, IList<Exame> exames)
        {
            InformarAtendente(atendente);
            InformarMedico(medico);
            InformarPaciente(paciente);
            foreach (var exame in exames)
            {
                ((List<Exame>)Exames).Add(exame);
            }

            return this;
        }
Ejemplo n.º 2
0
 public void InformarPaciente(Paciente paciente)
 {
     if (paciente == null) throw new ArgumentNullException(nameof(paciente));
     Paciente = paciente;
 }