Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tsi1-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rodrigo Sastre Marotta
tsi1-backend
Merge requests
!18
Feature/chat signalr
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Feature/chat signalr
feature/chat-signalr
into
develop
Overview
0
Commits
8
Pipelines
0
Changes
1
Merged
Feature/chat signalr
Enzo Santangelo Dodera
requested to merge
feature/chat-signalr
into
develop
Nov 3, 2020
Overview
0
Commits
8
Pipelines
0
Changes
1
0
0
Merge request reports
Viewing commit
61b27590
Prev
Next
Show latest version
1 file
+
3
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
61b27590
commit
· 61b27590
esantangelo
authored
Oct 29, 2020
Tsi1.Api/Tsi1.Api/SignalR/ChatHub.cs
+
3
−
1
View file @ 61b27590
Edit in single-file editor
Open in Web IDE
Show full file
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