Esempio n. 1
0
 public PostService(
     IPostRepository postRepository,
     IPostRatingRepository postRatingRepository,
     IUserService userService)
 {
     _postRepository       = postRepository;
     _postRatingRepository = postRatingRepository;
     _userService          = userService;
 }
Esempio n. 2
0
        public HeaderService(
            ICategoryRepository categoryRepository,
            IHeaderRepository headerRepository,
            IPostRatingRepository postRatingRepository,
            IOpenLibraryApiService openLibraryApiService,
            ILogRepository logRepository,
            IPostService postService,
            IUserService userService)
        {
            _categoryRepository   = categoryRepository;
            _headerRepository     = headerRepository;
            _postRatingRepository = postRatingRepository;

            _logRepository         = logRepository;
            _openLibraryApiService = openLibraryApiService;

            _postService = postService;
            _userService = userService;
        }
Esempio n. 3
0
 public PostRatingService(IPostRatingRepository repository, IPostService postService)
 {
     _repository  = repository;
     _postService = postService;
 }
 public PostRatingService(IPostRatingRepository postRatingRepository, IPostRepository postRepository, IMapper mapper)
 {
     this.postRatingRepository = postRatingRepository;
     this.postRepository       = postRepository;
     this.mapper = mapper;
 }