/// <summary> /// Initializes a new instance of the <see cref="POIController"/> class. /// </summary> /// <param name="poiRepo">The poi repo.</param> /// <param name="userTourRepo">The user tour repo.</param> /// <param name="userPOIRepo">The user poi repo.</param> /// <param name="geoLocationService">The geo location service.</param> public POIController(IPOIRepo poiRepo, IUserTourRepo userTourRepo, IUserPOIRepo userPOIRepo, IGeoLocationService geoLocationService) { _poiRepo = poiRepo; _userTourRepo = userTourRepo; _userPOIRepo = userPOIRepo; _geoLocationService = geoLocationService; }
/// <summary> /// Initializes a new instance of the <see cref="UserTourController"/> class. /// </summary> /// <param name="userTourRepo">The user tour repo.</param> /// <param name="userPOIRepo">The user poi repo.</param> /// <param name="geoLocationService">The geo location service.</param> public UserTourController(IUserTourRepo userTourRepo, IUserPOIRepo userPOIRepo, IGeoLocationService geoLocationService) { _userTourRepo = userTourRepo; _userPOIRepo = userPOIRepo; _geoLocationService = geoLocationService; }