public UserService(UnderSeaDbContext db) { this.db = db; }
public GameService(UnderSeaDbContext db, IMapper mapper, IHubContext <MyHub> hubContext) { this.db = db; this.mapper = mapper; this.hubContext = hubContext; }
public ArmyService(UnderSeaDbContext db, IMapper mapper) { this.db = db; this.mapper = mapper; }
public BuildingsService(UnderSeaDbContext db, IMapper mapper) { this.db = db; this.mapper = mapper; }
public TokenService(UnderSeaDbContext db, IConfiguration configuration) { this.db = db; this.configuration = configuration; random = new Random(); }
public UpgradesService(UnderSeaDbContext context, IMapper mapper) { db = context; this.mapper = mapper; }