Currently, to access a specific api domain, you have to make an object assotiated with that domain. This object provides functionality for getting the domain info. This gets messy and annoying when you want to do multiple calls.
Add an IClient interface which will have a HttpClient and the methods will be static methods which will extend the functionality of IClient.
A DataFactory still needs to exist in order to make the calls and build the objects so add it to the IClient for easy access.
Currently, to access a specific api domain, you have to make an object assotiated with that domain. This object provides functionality for getting the domain info. This gets messy and annoying when you want to do multiple calls.
Add an IClient interface which will have a HttpClient and the methods will be static methods which will extend the functionality of IClient.
A DataFactory still needs to exist in order to make the calls and build the objects so add it to the IClient for easy access.