public UserController(ITopicRepository topic, ITopicReplyRepository reply, UserManager <User> userManager, IHostingEnvironment env) { _topic = topic; _reply = reply; UserManager = userManager; _env = env; }
public TopicController(ITopicRepository topic, IRepository <TopicNode> node, ITopicReplyRepository reply) { _topic = topic; _node = node; _reply = reply; }