public FriendshipsController(IFriendshipsService friendships, IUsersService users, IHubContext <NotificationsHub, INotificationsHub> hubContext, ISignalRService signalRService, INotificationsService notifications) { Friendships = friendships; Users = users; HubContext = hubContext; SignalRService = signalRService; Notifications = notifications; }
public ChatController(IChatService chat, IMapper mapper, IUsersService users, IFriendshipsService friendships, ISignalRService signalRService, IHubContext <NotificationsHub, INotificationsHub> hubContext) { Chat = chat; Mapper = mapper; Users = users; Friendships = friendships; HubContext = hubContext; SignalRService = signalRService; }
public FriendshipsController(IFriendshipsService service) { _service = service; }
public FriendshipsController(IFriendshipsService friendshipsService, IUsersService usersService) { this.friendships = friendshipsService; this.users = usersService; }