Esempio n. 1
0
 public UserService(UnderSeaDbContext db)
 {
     this.db = db;
 }
Esempio n. 2
0
 public GameService(UnderSeaDbContext db, IMapper mapper, IHubContext <MyHub> hubContext)
 {
     this.db         = db;
     this.mapper     = mapper;
     this.hubContext = hubContext;
 }
Esempio n. 3
0
 public ArmyService(UnderSeaDbContext db, IMapper mapper)
 {
     this.db     = db;
     this.mapper = mapper;
 }
Esempio n. 4
0
 public BuildingsService(UnderSeaDbContext db, IMapper mapper)
 {
     this.db     = db;
     this.mapper = mapper;
 }
Esempio n. 5
0
 public TokenService(UnderSeaDbContext db, IConfiguration configuration)
 {
     this.db            = db;
     this.configuration = configuration;
     random             = new Random();
 }
Esempio n. 6
0
 public UpgradesService(UnderSeaDbContext context, IMapper mapper)
 {
     db          = context;
     this.mapper = mapper;
 }