/// <summary> /// Parameter that serve to connect to the database /// </summary> public RouteRepository(SmartCityContext context, IGameRepository gameRepository, IRouteBusiness routeBusiness, ITeamBusiness teamBusiness, IRouteStepBusiness routeStepBusiness, IRouteTagBusiness routeTagBusiness) { _context = context; _routeBusiness = routeBusiness; _teamBusiness = teamBusiness; _gameRepository = gameRepository; _routeStepBusiness = routeStepBusiness; _routeTagBusiness = routeTagBusiness; }
public RouteBusiness(SmartCityContext context, IRouteStepBusiness routeStepBusiness, IRouteTagBusiness routeTagBusiness) { _context = context; _routeStepBusiness = routeStepBusiness; _routeTagBusiness = routeTagBusiness; }