Skip to content

Commit e740459

Browse files
Andrey V BelyshevAndrey V Belyshev
authored andcommitted
added comment lines
1 parent 4560cf6 commit e740459

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Gordon360/Services/NewsService.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ orderby snc.SortOrder
6868
return news;
6969
}
7070

71+
/// <summary>
72+
/// Filters out categories that are not relevant for the student news feed.
73+
/// Student News categories are set by fetching their respective ids from the databasase
74+
/// in this instance, "2" and "3" are excluded. which relate to "Lost Items" and "Found Items"
75+
/// NOTE: the categories are hardcoded here, but could be made more dynamic in the future
76+
/// </summary>
7177
private static readonly int[] ExcludedCategoryIds = [2, 3];
7278
public IEnumerable<StudentNewsCategoryViewModel> GetNewsCategories()
7379
{

0 commit comments

Comments
 (0)