Пример #1
0
 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;
 }