Skip to content
Snippets Groups Projects

Feature/chat signalr

1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
using AutoMapper;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.SignalR;
using Microsoft.EntityFrameworkCore;
@@ -14,6 +15,7 @@ using Tsi1.DataLayer.Entities;
namespace Tsi1.Api.SignalR
{
[Authorize]
public class ChatHub : Hub
{
private readonly IMapper _mapper;
@@ -29,7 +31,7 @@ namespace Tsi1.Api.SignalR
_presenceHub = presenceHub;
_mapper = mapper;
_messageService = messageService;
_chatService = chatService
_chatService = chatService;
}
Loading