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