public TopicController(ITopicRepo topicRepo, IMapper mapper) { _mapper = mapper; _topicRepo = topicRepo; }
public TopicsController(NewAndNotificationContext context, ITopicRepo repository, IMapper mapper) { _context = context; _repository = repository; _mapper = mapper; }
public TopicService(ITopicRepo topicRepo) { this.topicRepo = topicRepo; }