public AuthController(IDummyNetworkService dummyNetworkService) { _dummyNetworkService = dummyNetworkService; //TODO move it to some other place and use balancer _dummyNetworkService.SetBaseUri("http://localhost:51002/"); }
public PageParserService( IParseOrdersService parseOrdersService, IProxyService proxyService, IDummyNetworkService dummyNetworkService) { _parseOrdersService = parseOrdersService; _proxyService = proxyService; _dummyNetworkService = dummyNetworkService; //TODO move it to some other place and use balancer _dummyNetworkService.SetBaseUri("http://localhost:51004/"); }
public MangaService( IDummyNetworkService dummyNetworkService, IMangaRepository mangaRepository, IChapterRepository chapterRepository, IChapterImageRepository chapterImageRepository, IMangaInfoRepository mangaInfoRepository) { _dummyNetworkService = dummyNetworkService; _mangaRepository = mangaRepository; _chapterRepository = chapterRepository; _chapterImageRepository = chapterImageRepository; _mangaInfoRepository = mangaInfoRepository; //TODO move it to some other place and use balancer _dummyNetworkService.SetBaseUri("http://localhost:51005/"); }