Exemplo n.º 1
0
 public TripLogController(ILogger <TripLogController> logger)
 {
     _logger      = logger;
     _persistency = new TripLogFlatFilePersistency(new FileInfo(@"D:\Temp\persistency.prs"));
 }
Exemplo n.º 2
0
 public TripLogController(ILogger <TripLogController> logger, ITripLogPersistency persistency)
 {
     _logger      = logger;
     _persistency = persistency;
 }