public MapsController(IOptions <HereAPI> hereAPIOptions, ApplicationDbContext context) { hereAPI = hereAPIOptions.Value; _context = context; }
public LocationsController(ApplicationDbContext context, IOptions <HereAPI> hereAPIOptions) { _context = context; hereAPI = hereAPIOptions.Value; }
public HomeController(IOptions <HereAPI> hereAPIOptions) { hereAPI = hereAPIOptions.Value; }