public PersonController(DbContext trinity)
 {
     repo = new TrinityRepository <Person>(trinity.DefaultModel);
 }
 public PlaceController(DbContext trinity)
 {
     repo = new TrinityRepository <Place>(trinity.DefaultModel);
 }
 public EncounterController(DbContext trinity)
 {
     repo = new TrinityRepository <Encounter>(trinity.DefaultModel);
 }
Esempio n. 4
0
 public InfectiousDiseaseController(DbContext trinity)
 {
     repo = new TrinityRepository <InfectiousDisease>(trinity.DefaultModel);
 }