public UserRepository(ParkyAPIdbContext dbContext, IOptions <AppSettings> appSettings) { this._dbContext = dbContext; // retreive the key register for the secret attribute in appSettings.json file this._appSettings = appSettings.Value; }
public TrailRepository(ParkyAPIdbContext dbContext) { this._dbContext = dbContext; }
public NationalParkRepository(ParkyAPIdbContext dbContext) { this._dbContext = dbContext; }