Пример #1
0
 public UserController(ITopicRepository topic, ITopicReplyRepository reply, UserManager <User> userManager, IHostingEnvironment env)
 {
     _topic      = topic;
     _reply      = reply;
     UserManager = userManager;
     _env        = env;
 }
Пример #2
0
 public TopicController(ITopicRepository topic, IRepository <TopicNode> node, ITopicReplyRepository reply)
 {
     _topic = topic;
     _node  = node;
     _reply = reply;
 }