Exemple #1
0
        public void DownloadOrganisations()
        {
            var proxy = new EventorWebService("apikey", string.Empty);

            var response = proxy.GetAllOrganisations();

            Assert.IsNotNull(response);
        }
Exemple #2
0
        public void DownloadEvents()
        {
            var proxy = new EventorWebService("apikey", string.Empty);

            var events = proxy.GetEvents(new DateTime(2011, 01, 01), new DateTime(2012, 01, 01));

            Assert.IsNotNull(events);
        }
 public OrgRepository(EventorWebService webService, OrgParser parser)
 {
     orgs = parser.Parse(webService.GetAllOrganisations());
 }