public AuthenticateController(
     UserManager <User> userManager,
     IConfiguration configuration,
     IChatGroupUserService chatGroupUserService,
     IChatGroupService chatGroupService)
 {
     _userManager          = userManager;
     _configuration        = configuration;
     _chatGroupUserService = chatGroupUserService;
     _chatGroupService     = chatGroupService;
 }
示例#2
0
 public UserService(
     IUserRepository userRepository,
     IChatGroupMembershipRepository chatGroupMembershipRepository,
     IChatGroupService chatGroupService,
     IFriendRequestRepository friendRequestRepository,
     IConversationRepository conversationRepository)
 {
     users               = userRepository;
     chatGroups          = chatGroupService;
     chatGroupMembership = chatGroupMembershipRepository;
     friendRequests      = friendRequestRepository;
     conversations       = conversationRepository;
 }
示例#3
0
 public ChatGroupController(
     IChatGroupService chatGroupService,
     IChatGroupUserService chatGroupUserService,
     IChatMessageService chatMessageService,
     UserManager <User> userManager,
     IAuthorizationService authorizationService)
 {
     _chatGroupService     = chatGroupService;
     _chatGroupUserService = chatGroupUserService;
     _chatMessageService   = chatMessageService;
     _userManager          = userManager;
     _authorizationService = authorizationService;
 }
示例#4
0
 public Group(IUserService userService, IChatGroupService chatGroupService)
 {
     groups = chatGroupService;
     users  = userService;
 }
示例#5
0
 public ChatController(IChatService chatService, IChatGroupService chatGroupService)
 {
     _chatService      = chatService;
     _chatGroupService = chatGroupService;
 }
示例#6
0
 public Users(IUserService userService,
              IChatGroupService chatGroupService)
 {
     users      = userService;
     chatGroups = chatGroupService;
 }