Example #1
0
 public RouletteServiceImpl(IConfiguration configuration, IUserService userService)
 {
     this.Context     = new BetDBContext(configuration.GetConnectionString("TestingDB"));
     this.userService = userService;
     this.WinnnerByColorMultiplier  = configuration.GetValue <decimal>("AppSettings:WinnnerByColorMultiplier");
     this.WinnnerByNumberMultiplier = configuration.GetValue <decimal>("AppSettings:WinnnerByNumberMultiplier");
 }
 public UserServiceImpl(IConfiguration configuration)
 {
     this.Context = new BetDBContext(configuration.GetConnectionString("TestingDB"));
 }