Example #1
0
 public SessionApiService(AuthConfig authConfig, HttpServiceGateConfig httpConfig, IMembershipService membershipService)
 {
     _authConfig        = authConfig;
     _httpClient        = new HttpServiceGate(httpConfig);
     _membershipService = membershipService;
     _apiEndpoints      = new ApiEndpoints(authConfig.BaseUrl);
 }
 public SimpleHttpClientSampleService()
 {
     _http = new HttpServiceGate(new HttpServiceGateConfig());
 }