Beispiel #1
0
 public UserController(UserManager<ApplicationUser> userManager, 
     TweetManager tweetManager, 
     UserRelationshipManager userRelationshipManager,
     NotificationManager notificationManager) : base(userManager)
 {
     _tweetManager = tweetManager;
     _userRelationshipManager = userRelationshipManager;
     _notificationManager = notificationManager;
 }
Beispiel #2
0
 public TweetController(UserManager<ApplicationUser> userManager, 
     TweetManager tweetManager, 
     UserRelationshipManager userRelationshipManager,
     NotificationManager notificationManager,
     IHostingEnvironment environment) : base(userManager)
 {
     _tweetManager = tweetManager;
     _userRelationshipManager = userRelationshipManager;
     _notificationManager = notificationManager;
     _environment = environment;
 }