/// <summary> /// This will create a client. /// </summary> /// <returns></returns> public XboxVotingServiceSoapClient CreateClient() { var binding = new BasicHttpBinding(); var address = new EndpointAddress(URL); var client = new XboxVotingServiceSoapClient(binding, address); return client; }
public XBoxGameRepository() { client = CreateClient(); }
public GamesModel() { client = new XboxVotingServiceSoapClient(); }