private void AddEntryToLog(LogEntryRepository repository, string application, string message)
 {
     repository.Save(CreateLogEntry(application, message));
 }
Esempio n. 2
0
 public AppController()
 {
     _configuration = Configuration.Read();
     _repository = new LogEntryRepository(new MongoClient(), _configuration);
 }