Beispiel #1
0
 public PlayersController(SurvivorContext db)
 {
     _db = db;
 }
Beispiel #2
0
 public UsersController(IUserService userService, SurvivorContext db)
 {
     _userService = userService;
     _db          = db;
 }
Beispiel #3
0
 public UserService(SurvivorContext db, IOptions <AppSettings> appSettings)
 {
     _db          = db;
     _users       = _db.Users.ToList();
     _appSettings = appSettings.Value;
 }
 public SeasonsController(SurvivorContext db)
 {
     _db = db;
 }
Beispiel #5
0
 public AppearanceController(SurvivorContext db)
 {
     _db = db;
 }