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