Skip to content
Snippets Groups Projects
Commit cacf5aee authored by Enzo Santangelo Dodera's avatar Enzo Santangelo Dodera
Browse files

Update ForumController.cs

parent cfd3359b
No related branches found
No related tags found
2 merge requests!26Develop,!21course sections
Pipeline #10301 passed
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/{courseId}")]
[HttpGet("GetForums/{sectionId}")]
public async Task<IActionResult> GetForums(int sectionId)
{
var result = await _forumService.GetForums(sectionId);
......
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