Exemplo n.º 1
0
 /// <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;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Parameter that serve to connect to the database
 /// </summary>
 public TagRepository(SmartCityContext context, ITagBusiness tagBusiness, IRouteTagRepository routeTagRepository)
 {
     _context            = context;
     _tagBusiness        = tagBusiness;
     _routeTagRepository = routeTagRepository;
 }