Exemple #1
0
 public MedicoServiceImp(MedicoRepository medRepo, PacienteRepository pacRepo,
                         CitaRepository citaRepo, DiagnosticoRepository diagRepo)
 {
     this.medRepo  = medRepo;
     this.pacRepo  = pacRepo;
     this.citaRepo = citaRepo;
     this.diagRepo = diagRepo;
 }
 public DiagnosticoService(string connectionString)
 {
     conexion    = new ConnectionManager(connectionString);
     repositorio = new DiagnosticoRepository(conexion);
 }
Exemple #3
0
 public DiagnosticoServiceImp(DiagnosticoRepository diagRepo, CitaRepository citaRepo)
 {
     this.diagRepo = diagRepo;
     this.citaRepo = citaRepo;
 }