Exemplo n.º 1
0
        public void GetFeed()
        {
            var rep = new FeedRepository();

            var items = rep.ListByUrl("http://www.nu.nl/rss/Algemeen");

            items.Should().NotBeNullOrEmpty();
        }
Exemplo n.º 2
0
        public IHttpActionResult GetList(string url)
        {
            var feeds = _feedRepository.ListByUrl(HttpContext.Current.Server.UrlDecode(url));

            return(Ok(feeds));
        }