public IsValidResponse Validate()
 {
     var service = new XrmService(this);
     var response = service.VerifyConnection();
     var actualResponse = new IsValidResponse();
     foreach (var item in response.InvalidReasons)
         actualResponse.AddInvalidReason(item);
     return actualResponse;
 }
 public OrganisationSettings(XrmService xrmService)
 {
     XrmService = xrmService;
 }