public AccountRestCaller(AuctionHubRestClient client) : base(client) { }
public BackendRestCaller(AuctionHubRestClient httpClient) { client = httpClient; }
public static void Register(IServiceCollection services) { services.AddSingleton(typeof(AuctionHubRestClient), AuctionHubRestClient.Create()); services.AddSingleton <IAccountRestCaller, AccountRestCaller>(); }