Пример #1
0
 public FriendsController(IFriendsService friendsService,
                          IUserService userService,
                          IFriendsInvitationService friendsInvitationService,
                          INotificationService notificationService,
                          IHubContext <NotificationHub> notificationHub)
 {
     _friendsService           = friendsService;
     _userService              = userService;
     _friendsInvitationService = friendsInvitationService;
     _notificationService      = notificationService;
     _notificationHub          = notificationHub;
 }
Пример #2
0
 public UserController(
     IUserSettingsService userSettingsService,
     IUserService userService,
     IUserSearchService userSearchService,
     IUserProfileService userProfileService,
     IUserImageService userImageService,
     IFriendsInvitationService friendsInvitationService)
 {
     _userSettingsService      = userSettingsService;
     _userService              = userService;
     _userSearchService        = userSearchService;
     _userProfileService       = userProfileService;
     _userImageService         = userImageService;
     _friendsInvitationService = friendsInvitationService;
 }