public UserService(ParksContext db, IOptions <AppSettings> appSettings) { _db = db; _users = _db.Users.ToList(); _appSettings = appSettings.Value; }
public ParksController(ParksContext db, IUriService uriService) { _db = db; this.uriService = uriService; }
public StateParksV2Controller(ParksContext db) { _db = db; }
public ParksApiController(ParksContext db) { _db = db; }
public NationalParksController(ParksContext db) { _db = db; }
public UsersController(IUserService userService, ParksContext db) { _userService = userService; }
public ParkRepository(ParksContext context) : base(context) { db = context; }