public MyController(UserService userService, MessageService messageService) { this.UserService = userService; this.MessageService = messageService; }
public UserController(UserService userService, TopicService topicService, TopicCollectService topicCollectService) { this.UserService = userService; this.TopicService = topicService; this.TopicCollectService = topicCollectService; }