/// <summary> /// Initializes a new instance of the <see cref="RouteTagController" /> class. /// </summary> /// <param name="repository">the repository that will interact with the data</param> public RouteTagController(IRouteTagRepository repository) { this._repository = repository; }
/// <summary> /// Parameter that serve to connect to the database /// </summary> public TagRepository(SmartCityContext context, ITagBusiness tagBusiness, IRouteTagRepository routeTagRepository) { _context = context; _tagBusiness = tagBusiness; _routeTagRepository = routeTagRepository; }