public RepliesController(IRepliesRepository repliesRepository, ITopicsRepository topicsRepository, IUsersRepository usersRepository, IMapper mapper) { _repliesRepository = repliesRepository; _topicsRepository = topicsRepository; _usersRepository = usersRepository; _mapper = mapper; }
public TopicsController(ITopicsRepository topicsRepository, IMapper mapper, IUsersRepository usersRepository, ICategoriesRepository categoriesRepository, IRepliesRepository repliesRepository) { _topicsRepository = topicsRepository; _usersRepository = usersRepository; _categoriesRepository = categoriesRepository; _repliesRepository = repliesRepository; _mapper = mapper; }
public RepliesService(IRepliesRepository repliesRepository) { _repliesRepository = repliesRepository; }