public PacientRepositoryEf(string connectionString) { _patientContext = new PatientContext(connectionString); }
public PacientRepositoryEf() { _patientContext = new PatientContext(); _patientContext.Database.Connection.Open(); }