示例#1
0
 public ChatsController(IChatApplicationService chatApplicationService)
 {
     _chatApplicationService = chatApplicationService;
     _chatHubConnection      = new HubConnectionBuilder()
                               .WithUrl("https://localhost:44355/ChatHub")
                               .Build();
 }
示例#2
0
 public UsersController(IChatApplicationService chatApplicationService)
 {
     _chatApplicationService = chatApplicationService;
 }