Skip to content

Commit 34e37a9

Browse files
authored
Merge pull request #2790 from TechnologyEnhancedLearning/Develop/Fix/TD-4592-View-notifications-backbutton
TD-4592-NoCaching attribute added to methods
2 parents 6a838c1 + e29928b commit 34e37a9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

DigitalLearningSolutions.Web/Controllers/TrackingSystem/Centre/Dashboard/DashboardController.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ ISystemNotificationsService systemNotificationsService
2929
this.dashboardInformationService = dashboardInformationService;
3030
this.systemNotificationsService = systemNotificationsService;
3131
}
32-
32+
[NoCaching]
3333
public IActionResult Index()
3434
{
3535
var adminId = User.GetAdminId()!.Value;

DigitalLearningSolutions.Web/Controllers/TrackingSystem/Centre/SystemNotificationsController.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ ISearchSortFilterPaginateService searchSortFilterPaginateService
3636
}
3737

3838
[HttpGet]
39+
[NoCaching]
3940
[Route("{page:int=1}")]
4041
public IActionResult Index(int page = 1)
4142
{

0 commit comments

Comments
 (0)