public void GetFeed() { var rep = new FeedRepository(); var items = rep.ListByUrl("http://www.nu.nl/rss/Algemeen"); items.Should().NotBeNullOrEmpty(); }
public IHttpActionResult GetList(string url) { var feeds = _feedRepository.ListByUrl(HttpContext.Current.Server.UrlDecode(url)); return(Ok(feeds)); }