Esempio n. 1
0
 public SlotSpinService(SlotMongoDbSettings settings, UserService userService)
 {
     this.settings    = settings;
     this.userService = userService;
     mongoClient      = new MongoClient(settings.ConnectionString);
     database         = mongoClient.GetDatabase(settings.DatabaseName);
 }
Esempio n. 2
0
 public UserService(SlotMongoDbSettings settings)
 {
     this.settings = settings;
     mongoClient   = new MongoClient(settings.ConnectionString);
     database      = mongoClient.GetDatabase(settings.DatabaseName);
 }