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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rodrigo Sastre Marotta
tsi1-backend
Commits
cacf5aee
Commit
cacf5aee
authored
4 years ago
by
Enzo Santangelo Dodera
Browse files
Options
Downloads
Patches
Plain Diff
Update ForumController.cs
parent
cfd3359b
No related branches found
Branches containing commit
No related tags found
2 merge requests
!26
Develop
,
!21
course sections
Pipeline
#10301
passed
4 years ago
Stage: external
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Tsi1.Api/Tsi1.Api/Controllers/ForumController.cs
+2
-2
2 additions, 2 deletions
Tsi1.Api/Tsi1.Api/Controllers/ForumController.cs
with
2 additions
and
2 deletions
Tsi1.Api/Tsi1.Api/Controllers/ForumController.cs
+
2
−
2
View file @
cacf5aee
using
System
;
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Threading.Tasks
;
...
...
@@ -23,7 +23,7 @@ namespace Tsi1.Api.Controllers
}
[
Authorize
(
Roles
=
UserTypes
.
Student
+
", "
+
UserTypes
.
Professor
)]
[
HttpGet
(
"GetForums/{
course
Id}"
)]
[
HttpGet
(
"GetForums/{
section
Id}"
)]
public
async
Task
<
IActionResult
>
GetForums
(
int
sectionId
)
{
var
result
=
await
_forumService
.
GetForums
(
sectionId
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment