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

            var response = proxy.GetAllOrganisations();

            Assert.IsNotNull(response);
        }
示例#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);
        }
示例#3
0
 public OrgRepository(EventorWebService webService, OrgParser parser)
 {
     orgs = parser.Parse(webService.GetAllOrganisations());
 }