Skip to content

Commit e29928b

Browse files
committed
TD-4592-No caching attribute added to methods
1 parent 9af1dd8 commit e29928b

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)