public Client(ILogger <Client> _logger, Cache _cache) { logger = _logger; cache = _cache; loginClient = new ClientLoginServiceClient(ClientLoginServiceClient.EndpointConfiguration.BinaryHttpsClientLoginServiceEndpoint); client = Authenticate().Result; }
public async Task <RegisterUserResult> Register(RegisterRequest registerRequest) { var loginClient = new ClientLoginServiceClient(ClientLoginServiceClient.EndpointConfiguration.BinaryHttpsClientLoginServiceEndpoint); return(await loginClient.RegisterAsync(registerRequest)); }