Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
f3a3ed1
TD-3023 Update to search entire db for case and assement blocks
OluwatobiAwe May 30, 2024
232941b
Merge pull request #382 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe May 30, 2024
647ea12
TD-3023 sp syntax error update
OluwatobiAwe May 30, 2024
6d415d3
Merge pull request #383 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe May 30, 2024
87d8c68
sql sp update
OluwatobiAwe May 30, 2024
cf4b32f
Merge pull request #384 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe May 30, 2024
1077d87
TD-3023 stored proc changes
OluwatobiAwe Jun 3, 2024
d410ff7
Merge pull request #389 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 3, 2024
9525243
Fix for video and video files with a case and assessment resource qu…
OluwatobiAwe Jun 3, 2024
d94919c
catch any error while processing resource files
OluwatobiAwe Jun 3, 2024
a08cf41
changed endpoint used in getting resourcet ype resource publish
OluwatobiAwe Jun 3, 2024
c44727c
Merge pull request #391 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 3, 2024
c458798
TD-3023 update for answers and wsi blocks
OluwatobiAwe Jun 4, 2024
7e25131
Merge pull request #392 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 4, 2024
2e12d23
wsi archiving after processing fix
OluwatobiAwe Jun 4, 2024
c32a9b6
Merge pull request #393 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 4, 2024
1cb0830
TD-3023 wsi auto archiving fix
OluwatobiAwe Jun 5, 2024
f8ff710
Merge pull request #394 from TechnologyEnhancedLearning/Develop/Fixes…
OluwatobiAwe Jun 5, 2024
5d1cb45
TD-4234: Modified GetExternalContentDetailsById (Web API) API call an…
sarathlal-sarangadharan Jun 7, 2024
562d01d
Merge pull request #404 from TechnologyEnhancedLearning/Develop/Featu…
sarathlal-sarangadharan Jun 7, 2024
da7b952
Merge pull request #408 from TechnologyEnhancedLearning/releases/LHTe…
AnjuJose011 Jun 10, 2024
6385461
TD-4151 - Converted API call in to async
Swapnamol Jun 11, 2024
85076ee
Added asnotracking()
Swapnamol Jun 11, 2024
f9214be
Merge pull request #411 from TechnologyEnhancedLearning/Develop/Fixes…
Swapnamol Jun 11, 2024
4001d30
Merge pull request #412 from TechnologyEnhancedLearning/releases/LHTe…
AnjuJose011 Jun 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 46 additions & 42 deletions LearningHub.Nhs.WebUI/Controllers/Api/ContributeController.cs

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@ public ContentServerController(
/// <returns>The <see cref="IActionResult"/>.</returns>
[HttpPost]
[Route("GetContentDetailsByExternalUrl")]
public IActionResult GetContentDetailsByExternalUrl([FromBody] string externalUrl)
public async Task<IActionResult> GetContentDetailsByExternalUrl([FromBody] string externalUrl)
{
string decodedUrl = HttpUtility.UrlDecode(externalUrl);

var details = this.scormContentServerService.GetContentDetailsByExternalUrl(decodedUrl);
var details = await this.scormContentServerService.GetContentDetailsByExternalUrl(decodedUrl);

return this.Ok(details);
}
Expand All @@ -61,9 +61,9 @@ public IActionResult GetContentDetailsByExternalUrl([FromBody] string externalUr
/// <returns>The <see cref="IActionResult"/>.</returns>
[HttpGet]
[Route("GetContentDetailsByExternalReference/{externalReference}")]
public IActionResult GetContentDetailsByExternalReference(string externalReference)
public async Task<IActionResult> GetContentDetailsByExternalReference(string externalReference)
{
var details = this.scormContentServerService.GetContentDetailsByExternalReference(externalReference);
var details = await this.scormContentServerService.GetContentDetailsByExternalReference(externalReference);

return this.Ok(details);
}
Expand Down
4 changes: 2 additions & 2 deletions WebAPI/LearningHub.Nhs.API/Controllers/ResourceController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -496,9 +496,9 @@ public async Task<ActionResult> GetScormDetailsAsync(int resourceVersionId)
/// <param name="resourceVersionId">The resourceVersionId<see cref="int"/>.</param>
/// <returns>The <see cref="Task{ActionResult}"/>.</returns>
[HttpGet("GetExternalContentDetailsById/{resourceVersionId}")]
public ActionResult GetScormContentDetailsById(int resourceVersionId)
public async Task<ActionResult> GetScormContentDetailsById(int resourceVersionId)
{
return this.Ok(this.resourceService.GetExternalContentDetails(resourceVersionId, this.CurrentUserId));
return this.Ok(await this.resourceService.GetExternalContentDetails(resourceVersionId, this.CurrentUserId));
}

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@
<Build Include="Stored Procedures\Activity\GetUserLearningActivities.sql" />
<Build Include="Stored Procedures\Activity\GetUserLearningActivitiesCount.sql" />
<None Include="Scripts\Post-Deploy\Scripts\TD-2929_ActivityStatusUpdates.sql" />
<Build Include="Stored Procedures\Resources\BlockCollectionFileSearch.sql" />
</ItemGroup>
<ItemGroup>
<None Include="Scripts\Pre-Deploy\Scripts\Card5766_AuthorTableChanges.PreDeployment.sql" />
Expand Down
Loading