public FabricaDeAgendamento InformarExame(string codigo, string descricao, double preco)
        {
            TipoExame tipoExame = new TipoExame(codigo, descricao);
            Exame exame = new Exame(Guid.NewGuid(), tipoExame, preco);
            _Agendamento.AdicionarExame(exame);

            return this;
        }
Beispiel #2
0
 public void AdicionarExame(Exame exame)
 {
     ((IList<Exame>) Exames).Add(exame);
 }
Beispiel #3
0
 public void AdicionarExame(Exame exame)
 {
     ((IList <Exame>)Exames).Add(exame);
 }