Exemplo n.º 1
0
 public AccountController(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     //IEmailSender emailSender,
     IOperation <User> user,
     //ILogger<AccountController> logger,
     IHostingEnvironment hostingEnvironment,
     ITopicOperation topic,
     IReplyOperation reply,
     INodeRecordOperation nodeRecord,
     ITopicRecordOperation topicRecord,
     IFollowRecordOperation followRecord
     )
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     //_emailSender = emailSender;
     //_logger = logger;
     _user = user;
     _hostingEnvironment = hostingEnvironment;
     _topic        = topic;
     _reply        = reply;
     _nodeRecord   = nodeRecord;
     _topicRecord  = topicRecord;
     _followRecord = followRecord;
 }
Exemplo n.º 2
0
 public HomeController(ITopicOperation topic,
                       IOperation <Node> node,
                       IOperation <NodeRecord> nodeRecord,
                       IOperation <TopicRecord> topicRecord,
                       IOperation <FollowRecord> followRecord,
                       UserManager <User> userManager)
 {
     _topic        = topic;
     _node         = node;
     _nodeRecord   = nodeRecord;
     _topicRecord  = topicRecord;
     _followRecord = followRecord;
     UserManager   = userManager;
 }
Exemplo n.º 3
0
 public TopicController(ITopicOperation topic,
                        IOperation <Node> node,
                        IOperation <TopicRecord> topicRecord,
                        IOperation <FollowRecord> followRecord,
                        IReplyOperation reply,
                        UserManager <User> userManager)
 {
     _topic        = topic;
     _node         = node;
     _topicRecord  = topicRecord;
     _followRecord = followRecord;
     _reply        = reply;
     UserManager   = userManager;
 }