public IHttpActionResult FollowAll(int seriesId) { var comics = _comicService.GetComicsForSeriesId(seriesId).Select(x => x.Id).ToList(); _userComicService.AddAll(comics, UserId); return(Ok()); }
public void ShouldReturnComicsListForSeriesId() { var comic = _comicService.GetComicsForSeriesId(1997); Assert.AreEqual(50, comic.Count); }