Пример #1
0
 /// <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;
 }
Пример #2
0
 public RouteBusiness(SmartCityContext context, IRouteStepBusiness routeStepBusiness, IRouteTagBusiness routeTagBusiness)
 {
     _context           = context;
     _routeStepBusiness = routeStepBusiness;
     _routeTagBusiness  = routeTagBusiness;
 }