public TourService(IOptions <AppSettings> appSettings) { _appSettings = appSettings.Value; _friendService = new FriendService(appSettings); }