public ChatController(IUserGroupService userGroupService, IMessageService messageService, UserManager <IdentityUser> userManager, IHubContext <GroupHub> hub, IUserVsgroupService userVsgroupService) { this.userGroupService = userGroupService; this.messageService = messageService; this.userManager = userManager; this.hub = hub; this.userVsgroupService = userVsgroupService; }
public GroupHub(IUserGroupService userGroupService, IUserVsgroupService userVsgroupService) { this.userGroupService = userGroupService; this.userVsgroupService = userVsgroupService; }