Skip to content
Snippets Groups Projects
Commit 61b27590 authored by esantangelo's avatar esantangelo
Browse files

commit

parent 8d1f9959
No related branches found
No related tags found
3 merge requests!20merge from develop,!18Feature/chat signalr,!16Feature/chat signalr
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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment