public IHttpActionResult FollowAll(int seriesId)
        {
            var comics = _comicService.GetComicsForSeriesId(seriesId).Select(x => x.Id).ToList();

            _userComicService.AddAll(comics, UserId);
            return(Ok());
        }
예제 #2
0
        public void ShouldReturnComicsListForSeriesId()
        {
            var comic = _comicService.GetComicsForSeriesId(1997);

            Assert.AreEqual(50, comic.Count);
        }