public IHistoryServiceClientWrapper GetHistorySercviceClient() { var channel = GetChannel("History"); var historyServiceClient = new Bettingv1HisotryService.Bettingv1HisotryServiceClient(channel); return(new HistoryServiceClientWrapper(historyServiceClient, _logServiceFactory)); }
public HistoryServiceClientWrapper ( Bettingv1HisotryService.Bettingv1HisotryServiceClient histotyClient, ILogServiceFactory logServiceFactory ) : base(logServiceFactory.CreateLogger <HistoryServiceClientWrapper>()) { _histotyClient = histotyClient; }