예제 #1
0
 public PropertyService(IDatabaseSettings settings, MongoService service)
 {
     _properties = service.GetDatabase().GetCollection <Property>(settings.Collections.Properties);
 }
예제 #2
0
 public UserService(IDatabaseSettings settings, MongoService service)
 {
     _users = service.GetDatabase().GetCollection <User>(settings.Collections.Users);
 }
 public TransactionService(IDatabaseSettings settings, MongoService service)
 {
     _transactions = service.GetDatabase().GetCollection <Transaction>(settings.Collections.Transactions);
 }