예제 #1
0
 public UserService(ParksContext db, IOptions <AppSettings> appSettings)
 {
     _db          = db;
     _users       = _db.Users.ToList();
     _appSettings = appSettings.Value;
 }
예제 #2
0
 public ParksController(ParksContext db, IUriService uriService)
 {
     _db             = db;
     this.uriService = uriService;
 }
예제 #3
0
 public StateParksV2Controller(ParksContext db)
 {
     _db = db;
 }
예제 #4
0
 public ParksApiController(ParksContext db)
 {
     _db = db;
 }
예제 #5
0
 public NationalParksController(ParksContext db)
 {
     _db = db;
 }
 public UsersController(IUserService userService, ParksContext db)
 {
     _userService = userService;
 }
예제 #7
0
 public ParkRepository(ParksContext context) : base(context)
 {
     db = context;
 }