public UserSeriesService(IUserComicService userComicService, IUserSeriesRepository repository, ISeriesRepository seriesRepository, IUnitOfWork unitOfWork)
 {
     _userComicService = userComicService;
     _seriesRepository = seriesRepository;
     _repository       = repository;
     _unitOfWork       = unitOfWork;
 }
 public void Setup()
 {
     _userComics          = new TestData().UserComics();
     _comics              = new TestData().Comics();
     _comicRepository     = MockRepository.MockComicRepository(_comics);
     _userComicRepository = MockRepository.MockUserComicRepository(_userComics);
     _unitOfWork          = new Mock <IUnitOfWork>().Object;
     _service             = new UserComicService(_userComicRepository, _comicRepository, _unitOfWork);
 }
 public UserComicController(IUserComicService userComicService, IComicService comicService, IUserSeriesService userSeries)
 {
     _userComicService = userComicService;
     _comicService     = comicService;
     _userSeries       = userSeries;
 }
 public SeriesController(ISeriesService series, IUserSeriesService userSeries, IUserComicService userComic)
 {
     _series     = series;
     _userSeries = userSeries;
     _userComic  = userComic;
 }
 public ComicController(IComicService comicService, IUserComicService userComicService)
 {
     _comicService     = comicService;
     _userComicService = userComicService;
 }