Exemple #1
0
 public IncidentNotesRepository(SimsDbContext ctx, IMapper mapper, SimsDbHost simsHost)
 {
     this.ctx = ctx;
     this.mapper = mapper;
     this.simsHost = simsHost;
     this.incidentNotes = new NotesRepository<IncidentNoteDb>(ctx, mapper);
 }
Exemple #2
0
 public SignalNotesRepository(SimsDbContext ctx, IMapper mapper)
 {
     this.ctx         = ctx;
     this.SignalNotes = new NotesRepository <SignalNoteDb>(ctx, mapper);
 }