public LogManager(IDatabaseFactory databaseFactory, ICryptoService cryptoService) { _dbContext = databaseFactory.Get() as DiabDbContext; LogCommands = new LogCommands(databaseFactory); ModelReader = new ModelReader(databaseFactory); PersonCommands = new PersonCommands(databaseFactory); FriendCommands = new FriendCommands(databaseFactory); SecurityLinkCommands = new SecurityLinkCommands(databaseFactory, cryptoService); }