Exemplo n.º 1
0
 public VenueService(IPlacesApiClient placesApi,
                     IVenueRepository venueRepository,
                     IBusinessHoursRepository businessHoursRepository,
                     IReviewRepository reviewRepository,
                     ILocationRepository locationRepository,
                     IVenueOwnerRepository venueOwnerRepository)
 {
     _placesApi               = placesApi;
     _venueRepository         = venueRepository;
     _businessHoursRepository = businessHoursRepository;
     _reviewRepository        = reviewRepository;
     _locationRepository      = locationRepository;
     _venueOwnerRepository    = venueOwnerRepository;
 }
Exemplo n.º 2
0
 public UserAddressController(IUserRepository userRepository, IPlacesApiClient placesApiClient, ICountriesProvider countriesProvider)
 {
     _userRepository    = userRepository;
     _countriesProvider = countriesProvider;
     _placesApiClient   = placesApiClient;
 }
Exemplo n.º 3
0
 public PlacesApiController(ILogger <DistanceMatrixApiController> logger)
 {
     _logger          = logger;
     _placesApiClient = RestService.For <IPlacesApiClient>("https://maps.googleapis.com/");
 }
Exemplo n.º 4
0
 public PlaceInfoProvider(IPlacesApiClient apiClient, IPointLocationRepository repository)
 {
     this.apiClient  = apiClient;
     this.repository = repository;
 }